ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

load data, excel, trigger

I established a software which sends out 8 different values to an external device (serial connection). Via the parallel port I receive a TTL-signal, so wih every incoming rising flank the values are sent out to the device. Now I want to load a set of data (for example 10 different sets of this 8 values) from an excel file and with every TTL-siganl send out a different set of data! Can anybody give an advice to me, how to solve this problem? Thanks a lot!
0 Kudos
Message 1 of 4
(3,439 Views)
Hi Aquarel
what is your programming tool???
0 Kudos
Message 2 of 4
(3,439 Views)
I am using LabVIEW 7.1! I simply want to sent out with every trigger signal a different value: first incoming trigger...value 1, second incoming trigger...value 2...and so on.
Thank you!
0 Kudos
Message 3 of 4
(3,439 Views)
Dear Aquarel,

this should be not so difficult.
Use a edge evaluation (attached vi) and count the numbers of positive edges. With this value, you can index a array of your values (value1,value2,.. and so on).
Now you should be able to send for every trigger a different value.

Hope this helps

Best regards,

SebastianN
NI Germany
0 Kudos
Message 4 of 4
(3,439 Views)