LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to open a txt file and output data through an AO-using DAQmx for PXI

I have a PXI running a 8145RT CPU. I have a PX6040E Multifunction DAQ card installed in the PXI. I want to program an application where I open a txt file (existing in one of the the RT machines' folders), read the first row, and output its data through an AO channel. The drivers I should use is DAQmx v7.1, and the Labview RT v.7
Any idea?
0 Kudos
Message 1 of 3
(2,690 Views)
What exactly are you having problems with? Reading a text file can be done a number of ways. Look at the File I/O palette and check out Read Lines From File or Read Characters From File. There are string to number conversion functions on the string palette (i.e. Scan From String). There are also numberous shipping examples on using DAQmx for analog out. If you have a specific problem or question, please post back with additional details.
0 Kudos
Message 2 of 3
(2,680 Views)
I´m doing the same thing but with a PC_ target. The problem is that the functions "Spreadsheet String to Array" or "Frac/Exp string to number"  not work when you run those in the target. What can I do?
0 Kudos
Message 3 of 3
(2,554 Views)