From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data from CTS

Hi agin!

 

I have some serious problems with my LabVIEW programming, and it's probably my skills that is the delimitation, so please help me someone.

 

I need to read a serial number of a device that do not comunicate back, so what I'm basically is trying to do is to send a five byte big command to the device, where the third command tells the device to open or close a relay depending on if that number coresponds to a zero or a one in the serial number. Then I try to mesure if the relay is open or not by using the CTS port, i.e. see if there are any voltage applied to it (I've conected the CTS to the circut that is closed by the relay). I need to do this 16 times in order to get the whole 16 digits serial number..The comunication to the device needs to be in hex and the last two bytes in the five byte comand do is not read by the device.

0 Kudos
Message 1 of 4
(2,438 Views)
0 Kudos
Message 2 of 4
(2,423 Views)
I wrote a nice reply, then I saw that you double posted, so I deleted my response. Please stick to the original thread.
Message Edited by smercurio_fc on 06-23-2009 03:34 PM
0 Kudos
Message 3 of 4
(2,422 Views)

Hi!

 

Ok I did not think that anyone looked at old threds, I'v added a bit more information in this but I guess that I just can ad that to my other thred then, sorry again this is just my second day at the forum..

0 Kudos
Message 4 of 4
(2,419 Views)