LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI server concept

Hi,
We are building a real-time application using VI server concept. The
application runs on a Windows host PC developed using Vb6.0 and basically calls the I/O functions
of the PXI resources working under LabVIEW RT 7.0 using LabVIEW 7.1 DLL calls. This application is intended
to run in a continuos fashion with 50 ms loop iteration until the operator
stops the application.
We are employing the following hardware,
PXI Chassis 1006
PXI Embedded Real-Time Controller PXI-8176/RT
Analog Output PXI-6711 - 4 No's
Analog Output PDXI-AO-16/16 - 2 No's
DMM PXI-4060
Multifunction DAQ PXI-6052E
Isolated Digital I/O PXI-6527 - 2 No's

Now I am facing timing problem. The ATE Resources should be accessed within 50ms, but since I am using VI server concept it is taking more time. Can you please tell me alternate solutions to make the software run fast?

Regards,
Poornima V
0 Kudos
Message 1 of 4
(2,798 Views)
This may be a question of architecture!

Please provide a basic illustration of what you are trying to accomplish and we may be able to help.

Aside from the 4060 everything else should run fast enough provided your application is structured properly.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 4
(2,787 Views)
Hello,

Another possible solution is to create a Host VI and a VI for the target and communicate to it using RT Communication Wizard. This wizard will create these VIs for you and will create the TCP communication that is needed.
Check the following link:
Using the LabVIEW Real-Time Communication Wizard

Hope this helps

Ricardo
National Instruments
0 Kudos
Message 3 of 4
(2,762 Views)
Hi,
I will explain the architecture of the software.
In ATE (Automatic test euipment), we have ATE host PC, which has windows 2000 operating system and LabVIEW 7.1 programming language is installed. Again ATE we have PXI chassis which has LabVIEW 7.0 RT controller.
Now form ATE host to talk to ATE hardware, we followed the below procedure:-
We created a Libs using LAbVIEW 7.0 programming language in ATE host PC for each Hardware module and pasted the same libs in LabVIEW 7.0 RT controller. I have placed a sample of lib file with this message.
In ATE host PC, I created a LabVIEW 7.1 DLL which has set of wrapper function which access the Libs present in RT controller using VI server concept.
Inside the DLL, first I open the reference to RT controller using Open application reference using IP address of RT controller, then I am opening VI reference for the libs present in RT controller, I get an array output of reference. I used this reference in DLL to access hardware modules using VI server concept.
Please tell me is there any other way to build my software to speedup the execution.
Thanks,
Poornima
0 Kudos
Message 4 of 4
(2,738 Views)