LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulated Device: MAX Test Panel Doesn’t Work, DAQ Assistant Cannot Read System Configuration

Solved!
Go to solution
I am unable to launch Test Panels for simulated devices in MAX. If I insert DAQ Assistant and attempt to acquire an analogue input voltage, process sticks at “Reading system configuration – Please wait...” (see attached screenshot). Any ideas? Thanks, SLV LabVIEW 2015 Version 15.0f2 (32-bit) MAX Version 15.0.0f0 (32-bit) DAQmx Version15.0.1f3 Windows 7 Pro Version 6.1 SP 1
0 Kudos
Message 1 of 5
(4,469 Views)

What device are you trying to simulate?  [I'd be curious if my LabVIEW 2015 installation has the same problem].  As it happens, I'm writing some instructional material for a colleague who is having trouble doing what should be simple DAQ (low data rates), but she's using the Dreaded DAQ Assistant, which I am urging her to Banish.  Getting rid of it and replacing it with real DAQmx code is quite simple -- do a Web search for the excellent NI White Paper "Learn 10 Functions in NI-DAQmx" and you will see that the basic steps are as follows (for most simple tasks):

  • Open MAX and find your Device (or create a Simulated Device).
  • Open Test Panels.  Define the Task that you want to do (such as "Sample 4 channels, 1000 points at 1Khz, Continuously").
  • Run the Task to be sure it does what you expect.
  • Save the Task.  Give it a better name than "My DAQ Task".
  • Open LabVIEW, go to your Block Diagram.
  • Drop down the following DAQmx Functions:  Create Channels, Start, Read (or Write), Stop, and Clear, connecting them by their Task Wire and Error Line.  Note that you might not need the first and the last function.
  • Wire a Task constant to the upper left Task input of the first Function.  Click the drop-down Arrow -- you should see your MAX Task appear.  Select it.
  • If you are sampling continuously, draw a While loop around the Read (or Write) function.
  • In any case, do whatever you need to do with the Output (or Input) of the Read (or Write) function.

I realize this still doesn't answer "Why is MAX not working", but the answer may be as simple as "Bad Installation" or "Bad Device Specification".  Tell us the device, we'll try it out, and perhaps can narrow down your problem.

 

Bob Schor

 

P.S. -- oops, I replied without viewing your PNGs (I generally hate "pictures" on the Forums).  Looks like you are using something called an SCC -- I'll check it out.

0 Kudos
Message 2 of 5
(4,460 Views)

Well, on my laptop (Win 7 x64 SP1, LabVIEW 2015 32-bit), MAX can find a Simulated SCC Connector Block and pop up the following diagram when I try to define a Task:

NI-SCC Task.png

It then asks me to "Select a digitizer" (and I'm unsure what to do, as I don't know these devices).  Can you at least get this far?  If so, are you able to do the next steps?  If not, then I suspect your installation of the LabVIEW Device Drivers is defective.

 

Bob Schor

0 Kudos
Message 3 of 5
(4,449 Views)

Bob,

 

I stumbled onto this issue when trying to familiarize myself with DAQ Assistant... I tried a number of different simulated devices, and couldn't get beyond "Please Wait" of the DAQ Assistant configuration window .... I ran the update service to make sure I had everything at the latest, and reloaded the DAQmx driver from ni.com. Still the same problem... Suspecting I was doing something basically incorrect when installing a simulated device, I worked through an example from a NI published seminar I found on-line called "Step-by-Step Data Acquisition Part I Exercise 1:Configuring a DAQ System in Measurement & Automation Explorer (MAX)". The screenshot was taken at the end of this effort (actually step 13 of this document). So I did get up to the screenshot shown in your post. Prior to this I installed a simulated PCI-6259 which is probably the missing digitizer... this appears in the "Cabled Device" box. I then populated some of the 'J' selector boxes with modules. Clicking on one of these modules and selecting Test Panel resulted in nothing happening... So it seems I had two related issues...

 

I'll work through the suggestion given in your first post to see if I can get something that functions, but I guess the main concern is whether there is a bug or I have some corrupted software.

 

Thanks,

 

SLV

 

0 Kudos
Message 4 of 5
(4,435 Views)
Solution
Accepted by topic author Systemolabvido

Having tried a few different things to remedy this over a number of days, all of a sudden the issue is resolved. DAQ Assistant “please wait.. “ message no longer appears and supported physical channels display immediately... Test Panels can now be launched from MAX.

 

The last thing tried was to run a repair of “NI-DAQmx”, “NI-DAQmx ADE Support” and “NI-DAQ MAX Configuration Support” in Control Panel. I’m assuming this did the trick, so if anyone has a similar issue that would be the first thing to try.

 

Thanks to all who provided suggestions.

 

SLV

0 Kudos
Message 5 of 5
(4,344 Views)