Is it possible in interfacing, IN 20H and then OUT 20H? Explain why or why not? - interfacing

Is it possible in interfacing, IN 20H and then OUT 20H? Explain why or why not?
Is it possible in interfacing, IN 20H and then OUT 20H? Explain why or why not ?

Related

Rundeck schedule a job on the first monday of the month

I would like to a rundeck job on a specific day of the month. Like for example the first Monday of the month.
I have tried to following: 0 10 10 1-7 * MON *, but this gives me the following error:
"day of week or day of the month must be '?'"
Is there a way to solve this?
Can you try this?
0 0 12 ? 1/1 MON#1 *
You can use http://www.cronmaker.com/ to generate and test your cron expressions.
Use this:
0 0 0 ? * 2#1 *
You can use this website to generate Quartz crontabs.
Try this,
0 0 10 ? 1/1 MON#1 *

My ethereum balance returns 0 when checked via geth, but according to etherchain it has a value

I have the exact same problem as described here but the solution doesn't help (so don't flag this post).
Instead of the other post, I think my connectivity works fine. At least I get a number higher than 0 when I enter net.peerCount.
Furthermore I waited 24h+ connected to the ether network.
What am I missing? What am I doing wrong?
When I type geth attach it tells me that the parameter at block: 0 (Thu, 01 Jan 1970 01:00:00 CET)... maybe this is the problem? My OS time is correct.
If eth.blockNumber returns 0 then you are not synced to blockchain. The block number should match https://ethstats.net/ which is approximately 4,100,000 right now
So you are not synced with the network.
Things to check:
Are you running the latest client?
Are you connecting to the right network and not testnet?
Are you on a network which blocks peer-to-peer traffic? Ethereum traffic looks a lot like bittorrent traffic and a lot of workplaces block it
What do your peers (admin.peers) look like? Do they have the latest clients? What are their block numbers?
You can try running geth in higher verbosity
LOGGING AND DEBUGGING OPTIONS:
--verbosity value Logging verbosity: 0=silent, 1=error, 2=warn, 3=info, 4=core, 5=debug, 6=detail (default: 3)
Hope this helps! If all fails you can use a public ethereum node like Infura - https://infura.io/#how-to

how to delete multiple lines from Microsoft word

My word file contain some data which are following
product/productId: 0784010927
review/userId: A19V0VJMKKRMC8
review/profileName: jj "Justin"
review/helpfulness: 1/1
review/score: 5.0
review/time: 1031961600
review/summary: one of my all tyime faves
review/text: i am from this genration which makes me different because i like movies from the 80s. well this is a must see.
product/productId: 0784010927
review/userId: A3OZU2EMJQ5FIC
review/profileName: danielle levin
review/helpfulness: 1/1
review/score: 5.0
review/time: 1022025600
review/summary: The Best in the world
review/text: This movie has touched me so much it's great. The movie is about a a young girl who is a little daddy girl and does everything she is told until she met her love Johnny (Patrick Swayze). Baby (Jennifer Grey) learns not only how to dance
But I want to delete the portion of line which starting with review\text from every paragraph. my output should be like that
product/productId: 0784010927
review/userId: A3OZU2EMJQ5FIC
review/profileName: danielle levin
review/helpfulness: 1/1
review/score: 5.0
review/time: 1022025600
review/summary: The Best in the world
Any one can help me please with any idea using macro in Microsoft word or any other solutions.
Try
Sub Demo()
With Selection.Find
While .Execute(FindText:="review/text", Forward:=True)
If .Found = True Then
Selection.MoveDown Unit:=wdParagraph, Count:=1, Extend:=wdExtend
Selection.TypeBackspace
End If
Wend
End With
End Sub
Make sure you keep your cursor at the starting position of the document.

UDP socket, select one of multiple clients

here's what I'm trying to do:
I have 4 clocks and one PC on the network. I (PC) want to get the time from any of the clocks.
The idea:
Every clock uses UDP Broadcast (broadcast because I don't know the PC's IP). The PC gets a first dataset(time) and from then on only looks at datasets from this clock. (To not get confused by slight timedifferences between the clocks)
Clocks=Clients:
- socket
- bind to port 1234
- sendto(broadcast,'1234')
PC=Server
- socket
- bind to port 1234
- recvfrom(data,client_addr) //extract client_addr from first received data
- connect(client_addr) //to only receive data from this client
- recvfrom()
1: Is this the correct way to do this? Or is there a better option?
2: What can I do, if I want more than one application on the PC to get the time-data? Can I just copy the code and use it? My impression was, that port 1234 is now blocked from the first application that gets the bind.
(I guess SO_REUSEADDR won't work because only ONE application then gets the data AND I don't know which one it is going to be)
Regards
1: Is this the correct way to do this?
Yes.
Or is there a better option?
Can't think of one off-hand.
2: What can I do, if I want more than one application on the PC to get the time-data?
Use SO_REUSEADDR.
Can I just copy the code and use it?
Yes.
My impression was, that port 1234 is now blocked from the first application that gets the bind.
No.
(I guess SO_REUSEADDR won't work because only ONE application then gets the data AND I don't know which one it is going to be)
Wrong guess. Why guess about it at all? Why not try it? Much more reliable than guessing, and quicker than asking questions here too.

PLC View Bit of an address

I am using a Omron PLC and looking at this bit in memory
CIO1767 BIT 14 In binary view
Its either going to be a 1 (on) or 0 (off)
I would like to put in the ladder logic. If this bit is on do ....
But Dont know how to write that bits address.
First do i have to use a compare to see if its 1 or 0
or
can i do a normally open and it give me NC if its 0?
Also if unclear, how do i write this bit i was trying CIO1767.14 but that does not seem to work?
thanks
glen
Figured it out, You can use a NO or NC operation. For this instance you have to place the operation, then for address just put CIO . Then it will give you another pop up asking for the data or location here you would put 1767.14. Thats it!