01-14-2015 07:47 AM
Hi,
I started today with Lab View with some earlier experience long ago.
While it took me only about half an hour to get my first program running (great), installation time nor included (of course), I meanwhile read documents for some hours and cannot find out how to control measurement hardware in Lab View.
I want to use a USB 6210 to set a 1-bit digital port. But at the moment there is no USB6210 available so I wanted to write (or do you say draw ?) the program without it and if possible simulate the hardware.
I drew DAQ Assistant into my block diagram and selected digital line output but get "No supported devices found". I don't know if the appropriate driver was installed during Lab View installation.
Also I don't understand the mechanism between DAQmx, tasks and the real hardware. Now I have a "Digital Bool 1Line 1Point" Control in my block diagram. How do signals get from program flow to hardware pin? How can I create a simulation for not connected hardware?
Any help is greatly welcome
Thanks a lot
Martin
01-14-2015 08:48 AM
Okay here is some more tutorials if you get some free time, specifically the hardware stuff will be relavent.
6 Hour LabVIEW Introduction
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training
Launch MAX, it was known as Measurement and Automation Explorer, there should be a shortcut in your start menu / desktop. Under devices and interfaces you can find your hardware and open test panels to control it. This is the first place to ensure your hardware is working. If the device isn't seen you'll need to install the drivers and DAQmx software. If it is there, great.
Now launch LabVIEW. The easiest way to control hardware is using the DAQ Assistant. It has many limitations and isn't recommended for large applications. But for something quick and dirty it works fine. You'll find it under the Measurement I/O >> NI DAQmx palette on the block diagram. If it isn't there you may need to reinstall the DAQmx drivers. This can happen if you installed DAQmx before LabVIEW.
Also you'll find under Help >> Find Examples on the toolbar, many examples on controlling hardware. Feel free to post some code if you are having problems.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
01-14-2015 08:56 AM