LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error of configuration for PCMCIA on PDA

Hello,
 
I try to create a very simple application with labView. I would like create a application: when the user activate the botton "Lecture" the program read PCMCIA card in loop and save the data in a file. When the user active the botton "stop", the program stop to read the card and exit the application.
 
When I install my application on the PDa and I "clik" the botton "strat" for starting the reading, I have a error Message: "Read cannot be performed because this version of DAQmx Read does not match the type of channels in the task. Error code: -200525"
 
software:
LabView 7.1
extension LabView PDA 7.1
DAQmx Base 1.0.1
 
PDA: PDA IPAQ Compac h5550 HP
PCMCIA: PCMCIA 6062E 16 inputs
Module: DUAL-SLOT HP
 
I would like read 8 channels in differentiel mode.
 
Thank you for your help.
 
0 Kudos
Message 1 of 21
(8,470 Views)

You should try to run one of the example VI like:

Cont Acq&Graph Multiple Voltages-Int Clk.vi

Don't forget to configure your AI Channels with the task configuration utility before you build your PDA App.

One other comment your New File VI should not be in your READ LOOP.

I've used the same IPAQ and DAQ card.  If I can help more let me know.

Eric

0 Kudos
Message 2 of 21
(8,458 Views)
Hello,

Thank you for your Help. Before to write here, I have asked three time in the french forum but any body have answer me. Now it is 30 days I try to configurate my card.

So I have look the example and I try to do my application again. But I ha ve problem. I don't know how to link my if loop with the final point. Can you look my new code and modify it please?


Thank your for your help.
0 Kudos
Message 3 of 21
(8,448 Views)
Hello,

I ha ve try to do something more esaier. i ha ve take the example Acq&Graph Voltage-Int Clk.vi for write my application.
When I test my task with the example I have no error message.
Now, i have take the same come and I have change just the control "Measurement" with a control for xrite in a file. And when I test my application I have a error message "Internal software error - Did not receive acknowledge from CFDAQ eeprom Error Code: -223710"

I think I cannot write directly the data in the file. I must transform the array in string but I do not kwon how to proceed. Can you help me?

Thank you
Edta
0 Kudos
Message 4 of 21
(8,417 Views)
Congrats on on getting your example to work.
The easiest way to write data to file is with the array to spreadsheet string.  In the sting menu pallet.
 
I'm not at my development computer so I can't look at your example until tomorrow.
 
Good luck
Eric
0 Kudos
Message 5 of 21
(8,401 Views)
I hope this example helps.
 
I'm not sure if the data needed to be transposed before writing it to file so I put the switch in there just in case.
 
Good luck
0 Kudos
Message 6 of 21
(8,380 Views)
Hello,

Do you have a idea why I have a error message when I execute my program on th ePDA? The message error is in my last "post" (I am not sure it is the english word).

Thank you for the exemple. I will change my program when I find to stop the error.

Thank you for your help.
Edta
0 Kudos
Message 7 of 21
(8,367 Views)
It seem like you need to configure your task to work with your 6062 Daqcard. On the example I gave you I left the task name on the front panel so you can select the correct task. Make sure you rebuild your VI everytime you reconfigure your task list!! The configuration vi should be located somewhere similar to this: "C:\Program Files\National Instruments\LabVIEW 7.1\project\daqmxbaseconfig.vi" Good Luck Eric
0 Kudos
Message 8 of 21
(8,356 Views)
Hello,

I have created a second time my task and now I have a new error message : "DAQmx Base Read.vi Attempted to read a sample beyond the final sample acquired. The acquisition has stopped, therefore the sample specified by the combination of position and offset will never be avaible. Error code: -200278". I don't really understand the message and I don't know how change my new code.

Thank you for your help.

Message Edité par edta le 09-28-2006 04:21 PM

0 Kudos
Message 9 of 21
(8,306 Views)

As you can see I ran into the same problem your having.

http://forums.ni.com/ni/board/message?board.id=170&message.id=89556&requireLogin=False

What do you have set for your scan rate and number of samples to read?

I'm going to see if I can find another reference to that error code.

Good Luck

Eric

Message 10 of 21
(8,300 Views)