Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

NI-RFSG Error -1074118136 Occurred When Trying to Overwrite Script

Primary Software: Driver Software>>NI-RFSG
Primary Software Version: 1.2
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Modular Instruments>>RF Measurement Devices>>PXI-5670, Modular Instruments>>RF Measurement Devices>>PXI-5671

Problem:
I'm using a PXI-567x and am trying to overwrite the script that is already downloaded to the Vector Signal Generator. I keep getting Error-1074118136 occurred at niRFSG Initiate.vi: The specified waveform is invalid.


Figure 1: Error -1074118136


Solution:
This error is caused because NI-RFSG does not have the ability to overwrite scripts that have the same name. If you have two scripts loaded in NI-RFSG with the same name then it will parse both scripts, but will only play the latter script of the two. If both scripts call valid waveforms loaded on the PXI-567x, then no error will occur and only the latter script will run. An error will occur when one of the scripts calls an invalid waveform.

For example, you run a program that loads two waveforms, wfm1 and wfm2, and one script, scrpt1. While the VI is still running (but not generating) and the NI-RFSG session is open, you delete wfm1 using the niRFSG Clear Arb Waveform VI and write a new script with the same name, scrpt1, and it only calls wfm2 which is still loaded on the Vector Signal Generator hardware. You will get an error describing The specified waveform is invalid because both scripts are parsed and scrpt1 could not find wfm1 loaded in memory.

As a workaround, if you'd like to change the script or write a new script while the NI-RFSG session is still open, it is suggested that you clear all loaded arbitrary waveforms and scripts by calling niRFSG Clear All Arb Waveforms VI. After the waveforms and scripts are cleared you can then reload your desired waveforms and scripts.

Related Links:
Products and Services: 6.6 GHz RF Instrumentation for PXI

Attachments:





Report Date: 08/24/2006
Last Updated: 12/09/2008
Document ID: 40NFUV0M

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit