Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI-6503 TTL pulse write to a .txt log file

Solved!
Go to solution

Hello, I need to log the PCI-6503 output data to a .txt log file. This PCI-6503 reads a pulse sending from another PCI-6503 located in a different Computer. I just want to record in the .txt file if a pulse has been received. I know how to create and write to the .txt file, but don't know how to write the DAQmx data into this file. Could someone help?

Thank you in advance!

0 Kudos
Message 1 of 3
(3,121 Views)
Solution
Accepted by topic author a2h

Hi a2h,

 

In order to only write when there is data coming out of the Daqmx read, you could use the Emply Array?.vi to determine if there is any actual data (such as the pulse) coming in from the device and then wire that to a case structure that will write to a text file in the false case.

 

Peter W.

0 Kudos
Message 2 of 3
(3,105 Views)

Peter W,

 

Thank you very much for you help! It works.

0 Kudos
Message 3 of 3
(3,097 Views)