LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview imaging program

I'm writing a program to do some imaging using labview and one of the
ni daq cards.
basically I need to generate 2 separate waveforms to move my sample
and at the same time acquire from 2 other channels. and of course
everything should be synchronized. at the end of each generated
waveform I should transfer the data on the disk, etc
has anyone wrote something similar? I would like to have an idea of
what is a good approach to solve the problem and base my program on
that.
thanks
-Claudio
0 Kudos
Message 1 of 5
(2,811 Views)
Hi Claudio,

As I understand it you�re trying to do simultaneous analog input and output and then write to file. First you need to decide which NI-DAQ driver you�re going to use. NI-DAQ 7.0 and later comes with two drivers Traditional NI-DAQ and NI-DAQmx. You can check the following link to determine the latest version of the driver compatible with your board. Under the version the document lists whether the board is supported under Traditional NI-DAQ (T) or NI-DAQmx (mx) or both.

NI-DAQ Driver Support for Windows

Your program will look completely different depending on which driver you choose to use. If you�re using LabVIEW 7.0 or 7.1 and your board is supported under NI-DAQmx I would suggest u
sing this driver.

After deciding which driver to use a good way to start is by looking at the shipping examples. You can browse through these by going to Help >> Find Examples from LabVIEW. This opens up the NI Example Finder. If you�re using NI-DAQmx I would suggest looking at the Multi-Function-Synch AI-AO and Multi-Function-Synch AI-AO � Ext Dig Trigger examples. You can find these by opening the NI Example Finder and on the Browse tab navigating to Hardware Input and Output >> DAQmx >> Synchronization >> Multi-Function. I would suggest looking under Hardware Input and Output >> Traditional DAQ >> Simultaneous Analog IO for Traditional NI-DAQ examples.

For examples on writing to file I would suggest looking under Fundamentals >> File Input and Output.

I hope this helps!

Sarah Miracle
National Instruments
0 Kudos
Message 2 of 5
(2,811 Views)
thanks a lot for your help sarah
I'm going to use DAQmx
I will follow the examples you suggeste me
best regards
-Claudio


SarahM wrote in message news:<506500000005000000A0870100-1079395200000@exchange.ni.com>...
> Hi Claudio,
>
> As I understand it you re trying to do simultaneous analog input and
> output and then write to file. First you need to decide which NI-DAQ
> driver you re going to use. NI-DAQ 7.0 and later comes with two
> drivers Traditional NI-DAQ and NI-DAQmx. You can check the following
> link to determine the latest version of the driver compatible with
> your board. Under the version the document lists whether the board is
> supported under Traditional NI-DAQ (T) or NI-DAQmx (mx) or both.
0 Kudos
Message 3 of 5
(2,811 Views)
hi,

  iam obtaining a matrix containing the image information from matlab in labview using a math script but functions like imshow do not work inside mathscript..so how do i use a compatible object to display the image
0 Kudos
Message 4 of 5
(2,553 Views)
Hey Barathindian,
 
Aashish M
CEO
TransferFi
www.transferfi.com
0 Kudos
Message 5 of 5
(2,501 Views)