LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Develop VI for a DAQ that is actually disconnected from PC

Solved!
Go to solution

Hello,

 

The DAQ for which I develop a VI is actually employed for some job, so it isn't connected to PC.

Is there some way to "activate" the device in order to use theirs resources for development purposes.

 

Thanks in advance

0 Kudos
Message 1 of 9
(3,290 Views)

Hi Pavel,

 

you can simulate a lot of NI-DAQmx devices in MAX…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 9
(3,279 Views)

Hi Pavel,

             Yes you have an option actually its called as Simulated Device in MAX A simulated NI-DAQmx device is a replica of a device created using the NI-DAQmx Simulated Device option in the Create New menu of MAX for the purpose of operating a function or program without hardware. An NI-DAQmx simulated device behaves similarly to a real device. Its driver is loaded, and programs using it are fully verified.

 

See to the attached document on how to create a simulated device ... your problem will be solved 🙂

 

 

Kudos are Welcome 😄

 

 

Certified-LabVIEW-Associate-Dev_rgb (1).jpg

 

Certified LabVIEW Developer
Best LabVIEW Programmer @NIDAYS 2015
0 Kudos
Message 3 of 9
(3,270 Views)

Hi GerdW,

 

Here is MAX window.

Device USB-6343 is actually disconected.

In my VI when I put Create Virtual Channel block, only USB-6251 is disponible.

But this last one doesn't have the same resources as USB-6343 (e.g. 2 analog outputs instead of 4).

What should I do in MAX in order to may use USB-6343 in my VI.

 

Thanks.

 

Simulation_disconnected_device.JPG

0 Kudos
Message 4 of 9
(3,266 Views)

Hi Pavel,

 

delete the missing device and replace it by a simulated one.

Or create an additional simulated device…

 

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 9
(3,248 Views)

Right-click on Devices and Interfaces and select "Create New...".  Choose a similated DAQmx device.  Search for the device you want to simulate and clock Ok.  You will now have a simulated version of the device that you can use to create virtual channels and tasks.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 9
(3,237 Views)

Thanks all,

 

Actually I'm on my home PC, where I've installed NI-DAQmx Runtime 15.5, that contains support USB-6343:

http://www.ni.com/download/ni-daqmx-run-time-engine-15.5/5903/en/

 

But after having reboot and run MAX I didn't find USB-6343 (actually no any USB device)

MAX.JPG

 

0 Kudos
Message 7 of 9
(3,223 Views)
Solution
Accepted by topic author Pavel_47

I am not completely sure it will work with just the DAQmx Runtime.  But after selecting the Simulated DAQmx Device, click on Finish and see what shows up in the insuing dialog.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 8 of 9
(3,218 Views)

Yes !

It's the case.

Thanks a lot.

0 Kudos
Message 9 of 9
(3,208 Views)