09-07-2012 12:29 PM
This what I get as error when I do add wave forms to file list, append all to a script string, and then do a execute the script. Please let me know if there is limit. I could not find in help.
Too many compiled instructions in loop. "Generate" and "Wait" instructions each result in at least one compiled instruction. Each marker adds an additional compiled instruction. Clear instruction does not result in a compiled instruction. If possible, reduce the number of generate instructions by concatenating the waveforms on two or more consecutive generate instructions. Line Number: 2 Position in Line: 1 Number of Instructions: 200 Maximum Number of Instructions: 47
09-10-2012 12:27 PM
Hi Aranjany,
The limit will depend on the hardware that you use and the amount of onboard memory it has. Can you tell me what is the NI model number of the function generator that you use?
Also what is the error code you are getting in your VI? What is the version of LabVIEW that you are using and the NI FGEN driver? It looks like in your case Maximum Number of Instructions = 47.
How many waveforms does waveform array contain and how many points does each waveform consist of?
09-10-2012 12:33 PM
Thanks for the information.
I will have to check for the details you asked.
Meantime, Is there any API that will provide this Limit ?
(Like niRFSG_QueryArbWaveformCapabilities provides the max number of wavefors, I was looking for an API that provide the Limit info)
09-11-2012 01:03 PM
The following VI will give you Maximum Loop Count (maximum number of times the signal generator can repeat an arbitrary waveform in a sequence): niFgen Query Arb Sequence Capabilities