Keeping Digital Waveform Graph Channel Name constant
Hello All,
I have currently run into a problem where LabView decides to change all of the channel names in my waveform graph to some type of default setting, e.g. Line 1, Line 2 etc. I was wondering is there a possible way to keep the channel names on the digital wave form constant even if I change some of the digital waveform parameters, or pass a null digital waveform constant through one of the channels? Any help on this would be much appreciated.
Example:
Problem
Digital Channel Name Before: Change Parameter: Digital Channel Name After:
Valve 1 Only Channel 1&2 used Line 1
Valve 2 Line 2
Valve 3
Hi di_1,
Are you trying to add more elements to a property node? Just grab the bottom and drag it down...check out the pictures.
Stephen S.
National Instruments
1 Test is worth 1000 expert opinions
Attachments:
propertynode.png 83 KB
grab the bottom of node.png 65 KB
drag it down for more properties.png 96 KB
Similar Messages
-
Add plots to digital waveform graph programmatically
Hi Guys,
This might be an easy one but I can't seem to find the right property. I'm adding "Plot Name" values for a each Plot in a Digital Waveform Graph. I select each plot with "Active Plot" property and name it. However if there are already e.g. 7 plots and I try to set eight plot active (i.e. 7 = Active Plot) I get an error cause this eight plot doesn't exist on the graph, and so can't be named.
How can I add (or indeed remove) plots using property nodes?
ThanksHello,
One thing to consider is the actual data the graph is receiving. Choosing plot 8 in this case is perhaps attempting to choose a plot which doesn't exist in the data, which could be why you're seeing the error.
Off the cuff, one thought might be to have the following "steps" take place when you want to add plots:
on the appropriate action to create a plot, create a default data set representing that plot
package that with your overall graph data so that the new plot exists in the data
write that data to the graph, perhaps using the Value Signaling property (via a property node linked to the Graph)
trap the graph's Value Change event using an event structure (possibly in a parallel loop) and update the plot name there (much like you are today - using a property node to first set the active plot to <previous value + 1> since you just added a plot, and then set your new plot name)
Not sure what the rest of your application looks like, but hope this helps!
Best,
JLS
Sixclear -
Bug in Digital Waveform Graph X-Axis
Hello,
I am making separate queried to a database to retrieve analog and digital data over the same time period. The data were logged at 2 second intervals. I have verified that both result sets return the same number of values with the same t0 and dt. I then plot the analog values on an XY Graph and the digital values on a Digital Waveform Graph. I then use property nodes to sync the two graphs (left and right plot bounds, XScale.Range, and Cursor Position.X). After doing this, I can see that the datasets do not line up between the two graphs. The data on the Digital Waveform graph ends several seconds sooner than the analog data. The x scales of the graphs appear to match but the plots don't align in time.
Has anyone else observed this behavior? Is there any work-around?
Thank you,
PeterThere is a much simpler way to synchronize these charts. Just use a stacked chart.
If you use a bundle function you can take two signals (almost data type) and wire them into a Waveform Chart together.
Then on the front panel right click on the chart and select Stack Plots
Since you only have 1 X axis now they are instrincly synched and will always write valules at the same time and update the UI together. You can skip all of the scale synching....
Since the data you are working with has lincked time stamps, the data will need to be matched, (make sure the samples are anyched and each itteration both would have the same number of samples.
The last allternative would be to strip the time stamp off of your data then build a new data structure, with the digital data, analog data and 1 set of matched time stamps. You can then plot this on an XY chart using the time stamp for the X axis for both of your other plots. Let me know if you have other questions. -
Digital Waveform graph with a lot of samples
Hi,
I have to display in a Digital Waveform Graph a lot of data read from a file(2.000.000 of samples for 36 signals). If I read the file and I try to display all the data, the Vi became unusable. For example, to zoom a graph region, it may take 30-40 seconds, scroll is impossible ecc, ecc..
Apparently LV doesn't perform a decimation of points. In measurements studio 8, this problem doesn't exist...but I have to use LV 7.1..
any suggestion ?
At the moment I have developed a DLL in VC++ that perform a decimation of samples, but performance are not very good !
Thank you for any idea.
Regards.Hi Garraty,
Excuse me but I have several questions for you.
1) Have you tried some kind of incremental approach, starting from 1 waveform and increasing towards 36? Do you experience some kind of on/off degeneration between, les’s say, 34 and 35 waveforms?
2) How can you decimate a digital pseudorandom sequence of 2M samples without loosing information?
3) Is this 2M samples an unavoidable constraint for your application?. Actually, it seems very difficult to extract some kind of visual information from a pseudorandom pattern of this length?
Thank you very much.
Kind Regards
FiloP
FiloP
It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong.
Richard P. Feynman -
How plotting on a digital waveform graph the bit transition in function of the time
Hi everyone,
I am using LabView 6.1 on a Windows XP computer. I am to plot output bits sequences on a digital waveform graph just before sending the information to a board.
So far I can see the transitions for my 16-bit port (16 plots) but the width of a pulse is always identical, no matter what times I enter. I wired my 1-D array timestamps to the property node Xscale.MarkerVals[] of my digital waveform graph... but it doesn't seem to affect my plotting...
Thanks in advance for any help concerning this problem.
Jonathan SabahWell here is piece of my VI with the necessary sub VI.
I also want to hide/unhide plots... I have found how to hide.. but cannot figure out how to unhide.
Any help please ?
Thanks again
Jonathan
Attachments:
Exemple.vi 58 KB
Setup_DIO64_for_Output_1.0.vi 111 KB -
Digital waveform graph switch between hex and binary possible?
hello,
is there a way to have a digital waveform graph switch back and forth from binary to hex data display?
Thank youok, thanks Nathan
Attachments:
Mixed Signal Graph1.vi 26 KB -
Hi
Apart from 0,1,H,L,Z I should input other alphabets like C,D,J,X,G in Digital waveform graph.(No annotations or Masking)
Please Help!
ThanksPlease stick to your original thread.
-
Is the digital waveform graph supported in Measurement Studio?
I have an application that could really use the LV-style digital waveform graph in Visual C++. Are there any plans to support the digital graph in Measurement Studio?
Thanks, BobUnfortunately, there is currently not an equivalent of LabVIEW's digital waveform graph in Measuremeht Studio for Visual C++. You can fake some of the features with CNiGraph. If you have Measurement Studio for Visual Basic 6.0 installed, you can see some examples of this in the VB DAQ\Digital\Digital Waveform and Digital Waveform Continuous examples. Also, attached is a sample Visual C++ 6.0 project that demonstrates how you can simulate some digital graph features with CNiGraph. There's also a screenshot attached that shows what this looks like. Hope this helps.
- Elton
Attachments:
DigitalGraphExample.png 16 KB
GraphDemo.zip 19 KB -
Hello,
I'm using LABVIEW 6.1 on a computer that does not have a DAQ card
installed. I would like to create a listbox that allows selection of
multiple DAQ channels. My problem is that the AI Group Config.vi
requires a DAQ Channel IO data type which is neither a string nor an
Integer. I tried to use the DAQ channel name constant, however I
wasn't able to enter a value for the constant. This problem may be
caused by the DAQ card not being installed.
Therefore, my question is that if I had the DAQ card installed, would
the DAQ Channel Name Constant allow me to enter a value?
Thanks,
SteveI believe you can at least type a name into the control/constant if you
right click on it and select "Allow Undefined Names". Then just double
click in the control and start typing.
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences. -
How do I graph more than 8 bits on the Digital Waveform Graph?
Greetings,
Does anyone know how have a Digital Waveform Graph that graphs Unsigned 16-bit numbers (rather than U8)?
ThanksJust wire your array of U16 right to the bundler. The Digital Waveform Graph will just create 16 plots instead of 8.
Alliance Members are here to help. We do this stuff every day.
Daniel L. Press
PrimeTest Corp.
www.primetest.com -
Digital Waveform Graph refuses to edit Bus names
I am trying to display digital waveforms on graph whose lines are grouped. It looks like the functionality exists to group the lines into "Buses". There appears to be a way to rename each Bus from its default "Bus 0, Bus 1, etc." since there is an Express VI called "Group Digital Signals" that does it. It looks like the express VI is editing the attributes on the waveforms in order to rename the Buses. The attributes are NI_ChannelName for the Bus and NI_LineNames for the lines that make up the bus.
When I code it, the Line Names are renamed according to what I want, but the Bus names remain default Bus 0, Bus 1, etc. Is there something I must do to rename the Buses?
(see attached VI)
Thanks,
Dan
Solved!
Go to Solution.
Attachments:
Digital Graph.vi 26 KBSo Young Daniel, do you mean like this?
All I did was select where is said Bus 0,1 or 2 and typed in a new value.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
I have attached a JPG of a digital graph and would like to know if anyone can get plot1 and plot2 in the same line together?
Any help is appreciated.
thanks and regards
Attachments:
Pic1.JPG 13 KBCan the attached vi match your application?
帖子被seagullsxc在04-13-2008 10:50 PM时编辑过了
Attachments:
Example.vi 24 KB -
I would like to plot an array of U32 with a digital waveform graph.
When I try to do this I can only view the first 8 bits. How do I plot all 32 bits?
Take a look at the attached VI, where I am able to plot all 32 bits on the graph. I have the axis autoscaling, and I made sure it was large enough to see.
Evan
Attachments:
i32_to_Digital.vi 44 KB -
Digital Waveform Attributes, ignored by LV ?
I've used waveform attributes before to rename plots on graph legends. Today I tried the same on a digital waveform graph, but it won't work. Can anyone tell me what I'm missing/doing wrong ? I'm using NIHSDIO VIs in this instance, when this worked for me before I was using DAQmx VIs. I have no attributes to edit, but have tried inserting them. The pictures should explain. i.e "Line 0" should be named "one"
Message Edited by bmann2000 on 08-14-2008 04:26 PMHello bmann2000,
This is a behavior that has been seen and reported as incorrect in the past. However, it has not been corrected yet. Even if the ChannelName is set correctly, the graph will not update the channel names for a digital graph. The solution, however, is a bit more complicated than with analog data since each channel can potentially have multiple lines, each with a different name. In any event, you can work around this naming issue by updating the plot names programatically. I have attached an example.
Brian Coalson
Software Engineer
National Instruments
Attachments:
DWFM_NameAtt.llb 98 KB -
Hiow to build digital waveform with transition values bigger U32?
Greetings!
Is that possible to build digital data with transitions values represented bigger than U32 values? (It seems to me that Labview 8.0 cannot accept U64. See attachment.)
What do you recommend? I cannot change dt, so scaling does not work. This is because, the record length could be very long...and the waveform should be connected to a digital waveform graph.
Thanks in advance!
Attachments:
ReplaceTransitionValues.jpg 21 KBHello Dawid,
Thank you for the answer.
Yes, I'd like to build a big array, which although would not be so big... I have not so many samples (just a few thousands) but the samples could be very far from each other. That's why I need U64.
I'm using compressed digital waveform to transport and display the samples, where the transition value functions as an offset (counted in dt) from the first sample.
For example, to store a 1Hz signal with sampling rate 100MHz the transitions will accumulate by 50M. If the record has 1000 samples then the last transition value will reach 50G which is much bigger than a U32 can store.
You might ask why so high the sampling rate for a 1Hz signal... The signal is stochastic, could be faster, and I would like to keep tha fast pulses also.
I dig into the "Append digital samples.vi" (see attachment) and I found the transition array is build by U32... I hope I did not misunderstand you, but I think it does not help. I suspect even the Digital Waveform Graph itself is not able to accept values over the U32 range, however, I should try that.
Best Regards,
Lamaze
Attachments:
AppendSamples.jpg 155 KB
Maybe you are looking for
-
Change labels Additional Customer Data
Hi Expert Forum In the transaccion XD02 -> in the option "Additional Customer Data (Central)" I want to change the label "Attribute 1" for a new value for example "Customer Group" How can I do this? Program name SAPLV02Z Screen number
-
I can't import my photos from my iphone 5c to my mac
When i plug my Iphone 5c in to the desk top I go to Iphoto and it shows that my phone is reconized. No photos show up so I cant import them. My phone is running out of space so i need to figure this out quick. Thanks!
-
Can anybody help me pls I recently restored factory settings on my PC re-loaded all the software incuding iTunes Im running firefox as my web browser also google search engine Anyway I 'synced' iPhone contacts and they should have gone to Outlook add
-
Hi, I am relatively new to Adv Pricing and the great features it provide. I was wondering if there is a way to maintain 1 single price list in Oracle and then be able to print out pricelist showing only a subset of items in the list? Currently, I def
-
How to join a wireless network cross platform?
I have a mac mini with Leopard. I now work at a place that has a network on the 9th floor, but my space is on the 7th floor, and the signal is VERY weak, and my mac mini finds and loses it all the time. U need it for work.I tried to add an airport ex