LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQMxBase problems PDA Module 7.1

Recentrly upgraded to Labview 7.1 and PDA Module 7.1. Trying to run a test program with DAQmxBase read function. I dont get broken arrow but program will give error when compiled and run on PDA(Unable to lock memory chunk). IF I use the simulator I get lots of errors like _ATTsetChipEseries10249 is a missing VI or C file.
Has anyone been able to make DAQmxbase vis to work?
0 Kudos
Message 1 of 15
(7,962 Views)
Hi,

DAQmx Base won't work on the emulator. All those linker errors are expected since there isn't a DAQ library to link to.

Regarding the PDA runtime error. What version of read are you using? The i16 raw or the dbl?.

Diego.
National Instruments.
0 Kudos
Message 2 of 15
(7,964 Views)
Im using the Analog 2D DBL NChan NSamp
0 Kudos
Message 3 of 15
(7,959 Views)
Hi,

I have a few questions to try to figure out what's going on.

What example are you trying to run?
Did you install the PocketPC driver components? (Start Menu >> Programs >> National Instruments >> NI-DAQmx Base)
What DAQ device are you using? What PDA?.

Include any information you think might help me reproduce the problem.

Diego.
National Instruments.
0 Kudos
Message 4 of 15
(7,959 Views)
Just trying to acquire 3 signals a display a chart. I have not found any examples of daqmx base. Im using an HP 5555 with Pocket PC 2003. Any small program that I try using Daqmxbase gives me same errors. Can you send me any examples to try.

And yes I did installed the driver components that you are talking about.
Developing on Windows 2000 laptop.
0 Kudos
Message 5 of 15
(7,959 Views)
I forgot to mention that I am using a 6024E PCMCIA DAQ card
0 Kudos
Message 6 of 15
(7,959 Views)
Hi,

I got the same setup (iPaq 5555 and 6024E). I configured a task to acquire 3 channels on a 6024E (using the Configuration Tool under the LabVIEW tools menu). Then I ran the shipping example: Acq&Graph Voltage-Int Clk.vi. You can access the examples from the start menu >> Programs >> national Instruments >> NI-DAQmx Base >> Examples >> labVIEW 7.1.

I'm not able to reproduce the error. If you have a VI that reproduces the error, please attach it so I can try it out.

Diego.
0 Kudos
Message 7 of 15
(7,959 Views)
Im having problems to login Im using a different computer. Here is the file that I am having problems with.
Thanks in advance
0 Kudos
Message 8 of 15
(7,959 Views)
Hi Zorro,

I was able to reproduce the memory chunk error. To eliminate it I completed the wires for the false case. I don't think that the LV PDA module support default sequence tunnels.

I also have a couple of tips from what I saw in your VI:

- I would suggest moving the Start and Stop vis inside the case structure (true case). This way you would only initialize and stop the task when you press RUN, not every UI iteration.

- This Depends on how fast you want to acquire. If you are acquiring at a low rate, this doesn't really matter. However, for maximum performance build the executable with "Generate Serial Only" checked (goto the Tools menu >> Build for PDA >> Code Generation Setting). This makes the generate
d code NOT check for UI events. The result is faster code, BUT you have to add a wait VI in the loop whenever you need to check for UI elements. With this setting you are explicitly telling LabVIEW when to wait. If don't add the wait, the application will hang because it will never check the stop button.

Hope this helps.

Diego
0 Kudos
Message 9 of 15
(7,959 Views)
Sorry for replying to such an old message, but it's relevant.  I seem to be having the same problem, but I don't understand this answer:
 
>Hi Zorro,

>I was able to reproduce the memory chunk error. To eliminate it I completed the wires for the false >case. I don't think that the LV PDA module support default sequence tunnels.

What's a default sequence tunnel, and which wires to I connect?
 
Thanks,
Mark
0 Kudos
Message 10 of 15
(7,473 Views)