04-02-2018 10:09 AM
I cannot seem to make this Duty cycle symbol (circled in red in the figure attached).
All the direction say for making this symbol is:
This did not work. It made a normal graphical indicator symbol like the one you see labeled Square in the picture. I know it is possible to make this symbol, but I cannot seem to figure it out.
04-02-2018 11:52 AM
I can't seem to create it either. It may just be that your instructor got fancy with MS Paint and tried to obscure graphic to make you search harder. (It would definitely be in line with their love of dynamic data!).
Either way, there are basically 2 types of objects used to view a 1D array of data in LabVIEW. There is the graph, which will show exactly what you wire into it, wiping away any previous data when you write to it. And there is the chart, which will concatenate points up to a certain length (the history length) keeping previous data to view. It seems like you want the graph here (which is what Square is) to view the entire signal at once.
04-02-2018 03:27 PM
Gregoryj:
I was wondering if it might be an Indicator (or Control?) viewed as an Icon. I tried playing with those awful Dynamic Data Wires, but couldn't quite get a similar image ...
Bob Schor
04-02-2018 03:50 PM - edited 04-02-2018 03:52 PM
To get that glyph the DAQ Assistant must be set for a single sample task 1 ch 1 sample on demand.
Of course you need a Chart not a Graph or nothing really makes sense that way. More a case of do "it the right way not like I did it." and all handed out to students and everything! Sweet
04-02-2018 04:20 PM
@Bob - It is definitely viewed as icon, I just couldn't figure out how to get the blank icon because neither a chart nor a graph would give it to me. But Jeff's 1 sample trick got it for me.
@Jeff - Nice find! If I create the graph that way, even wiring a 1D double array to it does not switch the icon back, very strange. It's unfortunate, a lot of people's first exposure to LabVIEW is in a lab class like this, probably taught by a grad student who doesn't even like LabVIEW very much, It's no wonder it gets the reputation of being inferior to text programming languages.
04-02-2018 04:22 PM
@Krystal - here is a good article on using some actual DAQmx functions instead of the DAQ assistant. It may not be allowed for this assignment but it will help you out if you continue to use DAQ functions in the future.