How do you obtain graph informatio​n from a subvi?
Hello all,
I have a working VI that varies a voltage source with certain start end and intervals. and every step it increases the voltage, it takes a look at a spectrum which is graphed in a multiplot-XY graph. the vi on its own works perfectly fine. Now the problem is: when i tried to implement this vi as a subvi to a larger VI, the graph does not get updated during the steps, but only gets updated once when the subvi finishes and displays the final graph. I have connected the XY-Graph of my subvi to an output terminal and connected that to a local variable of my bigger proram's Xy-graph.
I'd assume the problem is that the graph information only gets passed out of the subvi to the main vi once at the end of the subvi operation. (i have a for loop in my subvi to increase the voltage by steps, and then the same loop i take a spectrum and graph it, and i think that is the problem since i'd assume no information from this for loop will be passed out to the main vi until the loop finishes, no?
attached is a look at my subvi.
thank you very much for all your help!!!!
Attachments:
t-series.JPG 165 KB
Hello GerdW
=P sorry about the messiness~~
and to your answer:
i don't quite understand what exactly you meant by your answer. "wire a reference of the indicator to the subvi" the indicator as in the xy graph? and what exactly is a reference? those static vi reference thing? (sorry, i'm veeeeeeery new at this labview as you may tell from the messiness)
"use a proerty node to set new values in the xy-graph": isn't that what i used in my block diagram? I used a XY-graph value property node to update the xy-graph within my subvi.
so it won't work by simply making my XY-graph an output terminal and connect that terminal to the main VI's xy-graph?
if it's not too much trouble, please be bit more specific ><
i uploaded the subvi even though it's missing few sub-subvis? (the main vi is 1mb big and requires like 270 different subvis so it's impossible to upload that one -_-)
thanks again for your help GerdW!
Attachments:
t-series.vi 62 KB
Similar Messages
-
How to plot waterfall graph in vb6 from offline data
How to plot waterfall graph in vb6 from offline data?The data load from SQL Server Database.Thanks.
asrol,
If you look at the Plot Styles example in the folder I mentioned in the previous post there is a section of code there that you might want to refer to in order to recreate your data.
'=============================================================================
' Plot Curve Button Handler
'=============================================================================
Private Sub PlotCurve_Click()
' Create curve data
Dim x(40)
Dim y(40)
Dim z(40)
For i = 0 To 40
x(i) = Sin(i / 3#)
y(i) = Cos(i / 3#)
z(i) = i
Next i
In this example they create 3 arrays to represent the three dimensions of the array. For your case if you were to plug your data into two of the array (axes) that would give you the data for the channels, then you can simply input a constant for the third array it would produce a single line of your data as shown in your example GIF. You can then repeat this process for each set of data, with a new constant value for that third axis, and it should manually create a graph that will look something like you desire.
John B.
Applications Engineer
National Instruments -
How do you get your money back from a charge you never even made on the app store?
How do you get your money back from a charge you never even made on the app store?
Contact iTunes.
How to report an issue with Your iTunes Store purchase -
How do you remove a web site from popular list?
How do you remove a web site from popular list?
luckyfromhialeah wrote:
How do you remove a web site from popular list?
If you mean from the Safari menubar item "Popular"
Choose "Show All Bookmarks" from the Bookmark menu in the main menubar, or click the icon for that in Safari's menubar -
The page that opens should show a list of Bookmarks. In the Left column, click the item under Collections named Bookmarks Bar.
In the new view, locate the folder named Popular and click the reveal triagle to the left of its name - it will open and reveal all the items listed in Popular.
Find the one you want to remove, click it once to select it, then press the Delete key on the keyboard. -
How do you remove a web address from compatibility view option using a script?
How do you remove a web address from compatibility view option in IE using a script or a GPO?
Not seeing any options.
Casey
This topic first appeared in the Spiceworks Communityluckyfromhialeah wrote:
How do you remove a web site from popular list?
If you mean from the Safari menubar item "Popular"
Choose "Show All Bookmarks" from the Bookmark menu in the main menubar, or click the icon for that in Safari's menubar -
The page that opens should show a list of Bookmarks. In the Left column, click the item under Collections named Bookmarks Bar.
In the new view, locate the folder named Popular and click the reveal triagle to the left of its name - it will open and reveal all the items listed in Popular.
Find the one you want to remove, click it once to select it, then press the Delete key on the keyboard. -
How do you delete an email address from your iPhone that's not in your contacts?
How do you delete an email address from your iPhone that's not in your contacts?
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode -
How do you access updates to apps from the App store after changing to a new ID because the password on the old ID was changed by the former husband and you don't know what it is now? And you set up your own new ID and account but can NOT access the updates, from the App store for the many apps that you already have, because they require that you sign in with that former now inaccessible ID and account and password? Call it a problem of modern times and changing relationships, if you want to be charitable.
So I guess it will only be new apps that I download that are allowed to give me their updates while 13 updates wait for me on an ID I can no longer access.
Yes... sorry.
In the future, if need be, you can re download your purchases for free > Downloading past purchases from the App Store, iBookstore, and iTunes Store
Good rule of thumb is to back up your purchases regardless > Mac App Store: Backing up your app purchases -
how do you remove back up data from the memory storage? my storage data states that i have over 80gb of data used for back ups and i dont know why as i use a external hard drive as a time machine .now my 250gb flash storage is nearly full.. HELP!
When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Ask for instructions in that case.
See this support article for some simple ways to free up storage space. -
How do you move a quicktime movie from one iphoto library to another?
How do you move a quicktime movie from one iphoto library to another?
1 - export it from Library A via the File ➙ Export ➙ File Export menu with Kind = Original.
2 - import it into Library B as you normally would.
OT -
How do you remove a credit card from your account?
how do you remove a credit card from your account?
Hello sammi094,
The following article provides step-by-step instructions for changing your billing information.
iTunes Store: Changing your payment information
http://support.apple.com/kb/HT1918
See what to do if None isn't showing or you can't select it.
Cheers,
Allen -
How do you remove credit card information from your Apple ID
How do you remove credit card information from your Apple ID.? My dad was using my iTunes for awhile and he put his credit card on it and now, everything I want to buy something on the App Store or on iTunes, it asks for my dad's credit card information. I want that taken off. I just got some iTunes cards that I want to use but it won't let me
Do you mean the App store? Both iTunes and the App store use what ever is set up on your appleID, be it credit card or iTunes card. Its the same account.
-
HT3702 How can you remove a credit card from your account?
How can you remove a credit card from itunes account?
See if this support document answers your question. Why can’t I select None when I edit my Apple ID payment information? - Apple Support
-
How do you move itunes with playlists from one computer to another
how do you move itunes with playlists from a computer to ext hard drive, so it will play from the ext harddrive and not the computer
Type "move itunes library to external hard drive" into the google search bar.
-
I Just synced my iPhone and lost all the info in notes I had on the phone. How do you have the info sync from phone to desktop and not the other way around as I usually make contact changes etc on my phone. I would then like to be able to sync that info from desktop to ipad thanks
It does make sense. The iPhone is a one-person device and just syncs to one computer.
The way it should work is as follows:
Old computer content ---> New computer
New computer <---> syncs to iPhone
But the way you are trying to operate sounds like:
Old computer content ---> iPhone
... and ...
New computer content <---> iPhone
So simply move your old stuff (either directly from iTunes, or from a computer backup) to the new computer, have it all there, then sync your iPhone to the new machine. -
How do you get old emails back from the cloud storage
how do you get old emails back from the cloud storage
How did you get them into cloud storage?
Maybe you are looking for
-
How to highlight selected list item in sap ui5?
I have a list..in which custom list items have been used. On click of any custom list item it should get highlighted, I am able to click on each custom item...and have added an browser event on its click..which changes its color .. function to change
-
Mail unexpectedly quits since install of Mavericks. How to fix?
How to fix Mail? Crashes frequently since install of Mavericks. Can Mail be 'reinstalled'?
-
IMac Windows 7 Bootcamp Problem
Hi, I tried installing Windows 7 on my new 27" iMac using Bootcamp. When I installed, however, the installation did not complete successfully. This is because after the initial setup, Windows can't seem to continue and doesn't get onto the "Setting u
-
Many communication issues between Photoshop CC 2014 and Bridge since update
Since I upgraded Photoshop to the CC 2014 version, I've had many issues on using Ps and Bridge together. Here they are: 1. Mini Bridge is absent 2. When clicking to "Browse in Bridge" from Photoshop, the window for my Creative Cloud app opens instea
-
Howdy Y'all I have a client that needs a contract made up that can be emailed to clients for them to "fill in" and able to be saved to send back with all of the fields filled out. The original document was made in Word and I just exported it to a PDF