-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assigning Attributes to a Waveform doesn't work - PXI5670 #903
Comments
Just at a glance, in the error you're getting towards the end it says Is it a typo that you're passing "waveform::testwavform" without the e in waveform? |
Yea that's correct it was not a typo its just how I named it- I'm actually sending in |
OK so I altered a CVI script example to see if it's a grpc error and it turns out it may not be. I altered the finiteGeneration-Re-Triggered NI_CVI example to have a test button that calls this function.
So does this mean it's not supported on PXI 5670? There's no note of that, also is there another way to accomplish scripts but have different waveforms have different attributes? |
Ok so from what I'm seeing the only attributes that allow you to specify a waveform appear to be This begs the question how would one change the frequency of waveforms referenced in a script? Do all waveforms in a script need to be the same frequency and output level? |
Hi,
I've been trying to run a script that would require different waveforms to have different carrier frequencies or output powers. This would require me to add properties/attributes to arbitrary waveforms referenced in the script by following this process. It's a little confusing because it states
But I couldnt find anything on associating a waveform with an attribute other than to pass the waveform name in to the
channel_name
parameter of theGetAttributeViReal64
function. This however does not work, I tried both getGetAttributeViReal64
and setGetAttributeViReal64
functions as well as different waveform name formats suggested in both documentation for SetAttributeViReal64 and documentation for GetAttributeViReal64 such astestwaveform
,waveform::testwaveform
orwaveform::testwaveform\marker0
but none accept this and throw an error.The error I get is as follows:
Am I doing something wrong here? Is documentation wrong? Can someone help clear this up for me?
Thank you.
EDIT: I even see that apparently I was doing this correctly according to this line in this example so not sure what's going on, there was no mention of this capability not working on the PXI5670.
AB#2356013
The text was updated successfully, but these errors were encountered: