LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Daqmxbase on TPC 2006

Hi,
I am developing an application on NI TPC 2006 (win CE.NET 4.2 V1.32-EN) connected with NI USB 6009 using LabVIEW PDA 8.2.1 module and Daqmxbase 2.2.
The program works well, but TCP 2006 discards Daqmxbase installation on every reboot cycle.
Somebody knows how to install these drivers on the TPC 2006 permanently ?
Thanks.
0 Kudos
Message 1 of 6
(5,106 Views)

Hi Giammaria,

For NI-DAQmx Base 2.1 and later, you can use the following workarounds that eliminate the need for connecting the TPC-2006 to the host for reinstallation. However, these two workarounds do not address the issue that any DAQ device that is connected to the TPC-2006 during power up will be detected by the OS before the driver is completely installed. This will result in the user being prompted by the OS to point to an appropriate dll, which will not exist on the system until the driver is completely installed.

  • Manual reinstallation without host computer:
    Copy the appropriate .cab files somewhere onto the \harddisk on the TPC-2006. Since the \harddisk is non-volatile, these .cab files will still be present after a power cycle. Once the device powers up, you can manually run the appropriate .cab files from the \harddisk to install the appropriate drivers.
  • Automatic reinstallation without host computer:
    You can automatically reinstall the appropriate .cab files by placing them in the \harddisk\wince\config folder on the TPC-2006. Any .cab files in this directory will be automatically executed on power up. Additionally, you may need to rename the .cab files for the auto-launch feature. Preliminary tests were successful when renaming the DAQmx Base and the VISA .cab files to the following names:
    DAQmx Base cab file name -> NI DAQmx Base 2.1.CAB
    VISA cab file name -> National Instruments NI-VISA 4.0.CAB

Hope this helps!

Have a great day,

RaffaL

0 Kudos
Message 2 of 6
(5,019 Views)

Hi Raffaella,

I am trying to do what you suggest me, but I need more informations.

On my TPC-2006 in the harddisk folder I have this tree:

  • Cabinet\AppMgr
  • Documents and settings\default
  • Startup\MyProgram.exe

I copied the folder VXIPNP\WinCE that the installation from host PC creates on the ram, on \harddisk, but it dosen't work.

I didn't find NI*.cab files on my TPC, but only NI*.DAT or NI*.dll  or NI*.unload.

I tryed to copy them in a new folder \harddisk\wince\config, without any effect.

Can you help me ?

Thank you.

Franco Giammaria

 

 

0 Kudos
Message 3 of 6
(4,898 Views)
Hi, I try to design a program using a TCP 2006 with Windows CE 4.20 connected with a NI USB-6009 in LabVIEW 8.5 selecting the TPC module, I have installed DAQmx Base 3.1 to.
As a start I was trying to creat 2 simple vi's to read/write to a Digital I/O and I recieve the following error:
    write cannot be performed because this version of DAQmx Write does not match the type of channels in the task
    for the read is simmilar......
If I connect the USB-6009 with a PC, I can run simmilar programs.

Could somebody help me? Thanks!

ps. I attached the vi's
Download All
0 Kudos
Message 4 of 6
(3,822 Views)
Hello Dedics!
 
The board itself should be able to do digital input and output at the same time. The source of the behavior is mostly with the software. Is there a DAQmx base error you are receiving when you run your code? If so, what is the error number and the error code?
 
regards
Matteo
0 Kudos
Message 5 of 6
(3,800 Views)
Hi Logan_081,

Yes, I recieve an error when I run the vi, the code is -200256 and the message: <err> "Read cannot be performed because this version of DAQmx Read does not match the type of channels in the task."
I think the problem is that I do not know how to access the USB 6009 (how to refer to the ports) because in the TPC project, in the DAQmx base palette I have only Start,Read,Write and Stop.

Thanks for your time!


0 Kudos
Message 6 of 6
(3,772 Views)