LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Hello,I have created of text fi

le that should be read by the complier,then transfer the information to the table in my uir window.The program compiles, it does not transfer the information to the table in the uir file.What could be causing the information not to be transferred?,ThankyouMy idea was to use the callback function read with the STRING in the uir file.(Here I wrote the path of the text file)Then I wanted to take that and send it to a table using the callback function write and the function read.
Inside of the read callback function I tried to create a function that would use the ReadFile function(From the formating I/O function panel) to send the data to the text file to the string. But I am not sure if I need the string.

Is it possible to
just send the text file data to the table, using the read callback function?

Then, I have trouble trying to send that data to my instrument(FP_AO_200).The manual part of the program works fine, I am trying also develop a automated testing category.
This I my I for the setup:

1. Callback open: also has functions to open/read/close the text file
2. Callback read to take the read information from text file
Is this another problem, since I open/closed the Text file in the callback open? Is there a way to send the data to the table inside of the callback open function?

Thankyou for all your help, It is greatly appriecated
0 Kudos
Message 1 of 2
(2,886 Views)
le that should be read by the complier,then transfer the information to the table in my uir window.The program compiles, it does not transfer the information to the table in the uir file.What could be causing the information not to be transferred?,ThankyouHello faen9901,
In applications development on LabWindows/CVI, there are a multitude of different ways to accomplish the same goal. We cannot provide you with much assistance without further details from you regarding your implementation. However, given the types of questions you are asking, I would recommend one of our Customer Education Courses or Course Kits (a manual with exercises). You can find further information at http://www.ni.com/catalog >> Products and Services >> Support and Services >> Customer Education. With regard to your program, I would recommend setting some breakpoints, stepping through the code, and verifying that each function call is working the way you expect (is the data being read from file correctly, do the variables contain the proper va
lues, and so forth).

Jeremiah Cox
Applications Engineer
National Instruments
http://www.ni.com/ask
0 Kudos
Message 2 of 2
(2,886 Views)