‎05-03-2006 07:03 AM
‎05-04-2006 11:26 AM
Hello Justinas,
If you create channels in the DAQ Assistant in your LabVIEW program, you do not need to also create them in Measurement and Automation Explorer (MAX). You only create channels or tasks in MAX if you want to later reference them in your program without creating them in your program.
If you are displaying both your current and voltage measurements on the same graph, the current measurement is probably very small compared to the voltage measurement, so you cannot see the change. You could split the two measurements and then display them on two separate graphs so that both signals can be autoscaled appropriately.
Regards,
Laura
‎11-20-2006 08:45 AM - edited ‎11-20-2006 08:45 AM
Message Edited by Justanas on 11-20-2006 08:46 AM
‎11-20-2006 08:46 AM - edited ‎11-20-2006 08:46 AM
or just correct my attachment ![]()
Message Edited by Justanas on 11-20-2006 08:53 AM
‎11-21-2006
01:03 PM
- last edited on
‎11-16-2025
04:03 PM
by
Content Cleaner
Hello,
Your questions now are about axis formatting, and File I/O.
For axis formatting, you should take a look at the properties of your Graph (right click and select Properties, then click the Format and Precision tab). These properties are also available for programmatic access using property nodes for the graph. The graph itself can take a cluster datatype which wraps an x0. delta X, and the array of data to help you format how it is displayed - use the context help and hover over the waveform graph on your block diagram for more information - you can also use the LabVIEW Help to read more about this.
For File I/O - you have the choice of writing binary or ascii data. If you want the file to be human readable, you'll want to write ascii. If you just want to store data, and perhaps access parts of it from that file, storing it in binary format will be better. You can use the array to spreadsheet string function to get your array of data to ascii if you want to write text files. For binary files and to learn more about distinctions between those techniques, carefully read the following documents and check out the LabVIEW shipping examples for File I/O (click the Browse tab in the Example Finder, and choose Fundamentals -> File Input and Output).
How Can I Write and Read Binary Files Using LabVIEW?
Optimizing File I/O in LabVIEW and LabVIEW RT
I hope this helps! The best way to get started will be to first understand the difference between writing binary and text (ascii) files. Then determine which is best suited to your application. Then look at some simple examples and independently write yourself a simple example so you are sure you understand how to do this in LabVIEW. Then you'll be ready to integrate those ideas and File I/O code into your application.
Best Regards,
JLS
‎12-11-2006 05:11 AM
‎12-12-2006 10:16 AM - edited ‎12-12-2006 10:16 AM
Message Edited by Adnan Z on 12-12-2006 10:17 AM
‎12-13-2006 06:35 AM
‎12-13-2006 02:39 PM - edited ‎12-13-2006 02:39 PM
Message Edited by Adnan Z on 12-13-2006 02:39 PM