PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

embedded controller

how do I address the hard drive on the pxi when attempting to write files to it.  If I am using a vi on a computer, the drive and file locations input to the write file vi are listed under 'my computer'.  This may seem like a basic question, but I am having trouble finding an anwer.
 
0 Kudos
Message 1 of 4
(3,834 Views)

Hi Jason,

Can you provide more details on your system?  You are using a PC, but are you writing files to a PXI system from the VI running on the PC?  Are you accessing the drive to write to over a network? 

Please provide more details and I will see if there are any other tips I can give you.

Have a great day!

Chris R.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,830 Views)
I attached a monitor and keyboard to the embedded controller on a NI PXI 10-42 with the following componets installed: NI PXI 8195 embedded controller, NI PXI 8252 host adaptor, and 2 NI PXI 6143 s series 8-ch, 16 bit cards with bnc 2110's attached to each card.  I went into the bios and told the system to boot up without a keyboard.  Labview RT booted up, there was no prompt, just the message that RT was running.  I attached an ethernet cable to the controller and a laptop computer with Labview 8 installed.  Through Max, I could detect and assign an IP adress.  Opening a new project in Labview allowed me to detect the PXI as a remote instrument, similar to Compact Rios.  I created a task that sampled at the maximum sample rate 250 Khz, with 250,000 samples, sampled continuosly.  I started the task outside the loop, and read on the inside of the loop.  The graph inside this loop, which I believe is being executed on the PXI, seems to work great.   The results of building an array of these arrays of 25000 elements was also very encouraging.  There is also the option of a Megahertz timed loop, which isn't availible on a PC.  This VI is accessed under remote systems on the project.  I want to collect at least four channells at the maximum sample rate.  There would only be a few seconds worth of data.  I had hoped to stream this real time data to disk, and then read the data perform some analysis, extract the portions that are of interest and save them to a filetype that opens with excel.  On the VI on the PXI, I don't know what to call the hard drive that exists on the PXI.  The approach I am taking is to get the data to the host computer.  The PXI has an IP adress.  There have been issues there as well.  A shared variable behaves strangley, and a que flush results in an array of clusters.  There is a work around I hope to try when I get a chance for the que.  I am going to try to use the TCP/IP virtual instruments to get the data across.  The shared variable doesn't show up right away on the host side, and I found in this forum others that had problems.  I have abandonded using the shared variable. 
0 Kudos
Message 3 of 4
(3,821 Views)
I didn't have a constant wired to the tcp/ip read vi on the host side.  Once this was included, the thing worked.
0 Kudos
Message 4 of 4
(3,742 Views)