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?
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.
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.
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.
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.
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?