07-17-2009 02:39 AM
Hello,
I am continuing a project made 3 years ago. The guy before me made a lot of VI for the project. My problem is with some VI, labview no longer supports them (like the open_creat_replace file.vi). I insert a picture of the block diagram.
I have already made some changes concerning the DAQ because now I am using DAQmx (He used the traditional DAQ). Does it exist a VI making the same for the data recording? the other problem I have is he recorded data in a file with the extension .SCL, is it still possible in labview 8.2? This point is important because I need a file .SCL for other VI.
Thanks a lot for your help, I have already tried to find the solution but without success...
Sophie
Solved! Go to Solution.
07-17-2009 02:49 AM
Hi Sophie,
your .scl file is only a binary file. It's still possible to create binary files.
Mike
07-17-2009 03:27 AM
stage84,
under the "DAQmx - Data Acquisition Palette" you can find all the functions for the new DAQ acquirer. For understanding them you can use the "DAQmx Assistant" function and un-build it later by selecting "Generate NI-DAQmx Code" at its pull-down menu.
07-17-2009 04:11 AM
07-17-2009 04:14 AM
Hi sophie,
maybe it's a text file, but this is also still possible.
Mike
07-20-2009 04:59 AM
Hi stage84,
there's a good tutorial how to convert traditional DAQ code to DAQmx code:
Transition from Traditional NI-DAQ to NI-DAQmx in LabVIEW:
http://zone.ni.com/devzone/cda/tut/p/id/4342
I think this could be helpful for you!
Greetings,
cheggers
07-20-2009 05:39 AM
Thank you for the tutorial, I will compare with what I have. But my big problem in still in recording data in order to have the same kind of file the guy before me used... I tried to write in a binary file and a text file but it doesn't work... Now I am trying to write a spreadsheet file but it still doesn't work. Do you have any idea what is wrong?
I insert the VI taken from the NI example and the one I have to use to extract information from the acquisition before modification (Aha display6.vi) and with the modification in order to use the read spreadsheet.vi (display2.vi)
Thanks a lot for your help
07-20-2009 09:10 AM
I have finally found the solution by mixing examples and the VI of the guy before me. I am now writing in a binary file with the help of these examples: Cont Acqu&Graph Voltage- To File (Binary).vi to record my raw data and Graph acquired binary data for the beginning of my other VI to extract data.
Sophie