Contact an Expert

Thread: Downloading an arbitrary binary file to the PNA-X harddrive


Permlink Replies: 2 - Pages: 1 - Last Post: Apr 5, 2012 11:24 AM Last Post By: odanzy
bejstam


Posts: 11
Registered: 10/30/11
Downloading an arbitrary binary file to the PNA-X harddrive
Posted: Apr 5, 2012 4:57 AM
Click to report abuse...   Click to reply to this thread Reply
Is there a COM based or SCPI based method to transfer an arbitrary binary file from an external computer to the PNA-X harddrive?

I need to transfer *.ckt files from a test controller to a PNA-X harddrive. I have tried the normal memory transfer SCPI command (MMEM:TRAN), but it fails with *.ckt files.

Mapping the drive is not an option, since all this must take place without any manual user interaction.
tsilchia

Posts: 231
Registered: 10/31/05
Re: Downloading an arbitrary binary file to the PNA-X harddrive
Posted: Apr 5, 2012 8:16 AM   in response to: bejstam in response to: bejstam
Click to report abuse...   Click to reply to this thread Reply
Hello,

Can you provide more details such as your programming language, what you have tried, what is the failure indication, a snippet of the code, and a sample *.ckt file?

Sincerely,
tsilchia
odanzy

Posts: 1,543
Registered: 11/16/05
Re: Downloading an arbitrary binary file to the PNA-X harddrive
Posted: Apr 5, 2012 11:24 AM   in response to: bejstam in response to: bejstam
Click to report abuse...   Click to reply to this thread Reply
You could programmatically map the drive and then move the file or move the file to a shared folder. I've not been successful in the past using MMEM:TRAN in the past with the COM SCPI parser. Since you are using DCOM (over LAN), you could use the Windows API to map the drive and move it to the PNA.

Since there is a LAN connection, you could fall back and open a VXI-11 (SICL-LAN) VISA session and use MMEM:TRAN in this mode which should work.

Point your RSS reader here for a feed of the latest messages in all forums