LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

building a VI in a PDA emulator

Hi, I am using embedded VS 4.0, PDA module, and the PDA emulator. When I try to do a build on my VI onto the emulator, I get the error "Unsupported control - Tag, 2407". I don't really have any odd controls in my program, and even if I remove all controls I still get the same message. Does anyone know what triggers this error? It is followed by  "Error creating temporary directory in CreateDirCpyFiles". I am able to build the tutorial program successfully, just not my own program.

Thanks, Tim
0 Kudos
Message 1 of 6
(4,360 Views)
Hey Tim,

I checked out your VI and I believe that I might have spotted your problem.  You are using the DAQmx VIs, which is not supported on the PDA or Emulator, so I'm guessing that your unsupported control error is coming from the physical channel constant.  DAQmx base is supported for PDA, but unfortunately no flavor of DAQ is supported for the Emulator.  If you have a PDA you would need to install DAQmx Base support to it, as well as convert your VI to use the DAQmx Base API before you are able to download it.  Please let me know if you have any further questions!

Andy F.
-----------------------------------------------------------------
National Instruments
0 Kudos
Message 2 of 6
(4,349 Views)
Hi Andy,

Is there any way to identify the problem just by looking at the Tag number that's showing?

I got this Tag, 32164 after Unsupported Control.





hellolv
0 Kudos
Message 3 of 6
(4,251 Views)
hellolv,

The "Tag, #" is not really helpful to identify controls.  In this case its because of the DAQmx controls that are used instead of DAQmx Base.  The number you see is how that specific control is being identified in LabVIEW and without access to the code you won't be able to figure out what that is, which could change between computers.  Let me know if you have any questions!

Thanks!
Andy F.
-----------------------------------------------------------------
National Instruments
0 Kudos
Message 4 of 6
(4,231 Views)
Thanks much for the info.  I got another question here.
 
Usually when I use DAQ, I had the icons of Create Channel and Timing vi to initialize the task.  Do I still need those in PDA or there is some other ways to go around it?
 
 
 
 
 
0 Kudos
Message 5 of 6
(4,221 Views)

Hello hellolv,

When using NI-DAQmx Base to program data acquisition applications for PDA, there is a slightly different method for creating and configuring tasks that does not use the typical Create Channel and Timing VIs.  Instead you should use the NI-DAQmx Base Task Configuration Utility to configure your task.  You can access the NI-DAQmx Base Task Configuration Utility within LabVIEW under Tools > NI-DAQmx Base Task Configuration Utility.  For more information about how to properly configure your task, take a look at the Create and Configure Tasks section in the following guide:
NI-DAQmx Base 3.x Getting Started Guide

I hope this information helps and let us know if you have any further questions.

Regards,
Travis G.
Applications Engineering
National Instruments

 
0 Kudos
Message 6 of 6
(4,207 Views)