The plan was to write to excel so everything is a little neater because there will be a lot of tests and data being written to the file. I wanted to have separate excel sheets for each test so that if I were to rerun a specific test, I could just add the new data into the next row. But I guess if there is no way to use excel without activex or the Report Generation Toolkit, then I have to just add everything into a CSV file and have the data for each test written into a new row rather than a new sheet and overwrite the old data when I do a rerun.
Re: Writing Data to Excel File without Report Generation Toolkit
Re: Extract string at a specified character
Re: Extract string at a specified character
Thank you for the quick response!
Re: Writing Data to Excel File without Report Generation Toolkit
wrote: But I guess if there is no way to use excel without activex or the Report Generation Toolkit,
There is - read my previous post and follow the link.
Regards, Jens
Re: Matlab script to string in Labview
Is your Matlab Program in an "m-file"? Those are simply text files with a .m extension, which you should just be able to read using Read Text File and specifying the path to the m-file.
Bob Schor
Re: TCA9548A Adafruit i2C Multiplexer Labview Example?
@arteitle
Thank you for the suggestion. Let me try this next week and I'll report my findings. You've been extremely helpful.
Re: NINE hours to download and install LV 2018 + std Drivers?!
At work (now) it's 18Mb/s download, 46Mb/s upload. As I recall, at home it is about 50Mb/s both directions.
BS
Re: Spectrum of DAQ received signal
wrote: Thank You.
Can you provide me some links to study about "principle of data flow".
Sure. Open a browser and type in "LabVIEW Data Flow". Pick several and read them. Then revisit your Block Diagram, which shows two processes (Data Generation and Data Acquisition) running in parallel, with no syncronization, no specification of "which comes first" or how they relate temporally to each other.
To do what I think you want to do, you need to be more "up to speed" with LabVIEW and how it works. Spend time (hours, at least) with the LabVIEW Tutorials (check the first page of this Forum). Take a Class. Study for a Certification Exam. Write (and run, and debug, and test) LabVIEW code. If you can, find a LabVIEW Guru and apprentice yourself for a while.
Bob Schor
Re: Writing Data to Excel File without Report Generation Toolkit
Sorry, I meant that there doesn't seem to be a way to work with excel without having to buy extra tools.
Reload data from config.ini
Hola comunidad.
Les pregunto de manera respetuosa:
Como hago para leer varias veces el archivo de config.ini con el VI principal corriendo sin necesidad de reiniciar todo, es decir si yo modifico el archivo de texto config.ini con otro valor que me cargue el nuevo valor en el VI estando corriendo.
En el archivo adjunto esta el VI.
Gracias de antemano.
Re: Output cluster to 2D array errors
wrote:
I was interested in what you said about making typedefs - I had a bit of a read about them and watched some videos but not sure I have quite understood the whole process... Is this anywhere near what you meant?
Harriet,
Sorry, I "dropped the ball" and failed to get back to you last week. Listen to crossrulz about indexing tunnels -- much easier way to build arrays (you can even make the tunnel a "conditional" tunnel that allows you to choose which elements go into the array).
As to the TypeDef, you did it exactly right! Mine differs from yours in that I named the Cluster "Point" (instead of Cluster), got rid of the Increment/Decrement buttons on X and Y (they take up space), used Autosizing (right-click cluster on Front Panel and choose "Autosizing") to Arrange Vertically (why not make it compact and "pretty"?), and use the Icon Editor to give it an Icon (I made a square box with the word "Point" inside it).
But where do you use it? In the very first place you define the Cluster, the For loop where you do an "Array-to-cluster" operation. Instead of doing that (which, you must admit, is a little mysterious -- what is this Cluster about, anyway?), you put in a Bundle by Name, wiring the TypeDef you created to the top input, and "Presto!", the X and Y inputs magically appear. Drop an Index Array function down, wire the (now 1D) Array to it, and (here's a trick I learned after about a year using LabVIEW) drag down on the bottom margin of Index Array to get two index inputs. Don't wire them -- they'll give you (by default) the first and second elements of the Array, i.e. they give you X and Y.
Now it is clear what you are doing -- the 1D array "represents" the X and Y values of your Point, which you are putting into the Point Cluster. [If you'd made an Icon for the TypeDef, you could have something like this on your Block Diagram:
Bob Schor
Re: Unflatten from XML doesn't handle DAQmx tasks inside an object
As an update for everyone, I contacted NI support and they confirmed this was indeed a bug that was already filed (they didn't tell me the CAR for it though).
In addition to the workaround Kevin posted, they offered the following:
"The other workaround listed is if you place the class cluster inside an additional cluster then the DAQmx Physical Channel control saves and loads as expected."
Just wanted to help future Googler's.
Re: How to achieve high speed data transfer through tcp?
The NICs on the PC maybe 1 Gb but the switches in the closets may still be 100 Mb. It depends on how quickly the IT structure is updated. We didn't get 1 Gb switches at my office until we moved buildings a few years ago. Some companies are very slow to upgrade their network infrastructure. In addition, the switches themselves could be configured tho throttle the traffic.As suggested, this needs to be benchmarked with a direct connection first to see if the speed issue is in the code or the PC or FlexRIO themselves. If it meets spec there, then there are lots of network variables that would need to be looked at, including what is the wiring rated at (Cat5, Cat5e, Cat6, etc).
Re: Retrieve Data From Web API????
Datasocket works once you add [text] to the end of the URL...found the tip by tst in the link below...nice!
https://forums.ni.com/t5/LabVIEW/how-do-i-get-data-from-a-website/m-p/2354936/highlight/true#M734903
Re: cRIO 9074 and NI 9144 behaviour and troubleshooting
As a mentioned above, it does not work even in a new project. The problem emerges after C modules deployment. I'll have to check them one by one I suppose. Is it possible a malfunctioned C-module render the slave inoperative?
Re: Cannot get latch mechanical action on boolean button inside a cluster
wrote: I mean something like this, the terminal of the Cluster needs to be placed alongside of the event-structure, so that LabVIEW can "read" its value:
Again, it would be much easier to help and answer you if you would upload your actual VI.
Regards, Jens
I do not understand why keep saying that the cluster should be alongside the event structure. No, put the cluster control inside the event case, as simple as it is.
Please convert from LV2015 to LV2017
Re: graph of intensity
Hello sir,
What do you think of the program attached her, is that good?
Thanks!
synchronous and memory is full
how can make synchronous in serial port in lab view between transmit and revived from anther computer
and send large array of data like image use visa serial when i send i have message memory is full.
Re: graph of intensity
wrote:
What do you think of the program attached her, is that good?
Does it work?
Some observations:
- "index array" is resizable. You only need one instance.
- Converting a DBL to U32 to be used as index is completely pointless. Just let it automatically coerce to I32. No conversion needed. Still, I suspect that x and y probably need to be scaled, but there is no way to tell.
- It is completely pointless to maximize the front panel and diagram to the screen. During development and debugging, you often want to see both (e.g. probing, execution highlighting)
- Why do you use an intensity chart and graph at the same time? Pick the right one!
- You still only get 10 points, then start over with a zeroed array at the next iteration of the while loop. No data survives a while loop iteration except for the chart history buffer,but that seems completely useless here. That inner FOR loop is completely pointless. Initialize a 2D array of the right size outside the loop, place it in a shift register of the outer while loop, and keep replacing elements into the entire area is covered.
- You still have a basic misunderstanding of what I described earlier. Did you look at my example?
- What are typical xyz data? Can you stream a sufficiently large set to disk (3 columns, N rows) and attach it here?