Re: Waveform chart to polar graph
Yes, it's much more simple than with the XY Graph, even if it's just a picture. For me, it's enough. But I've tried to change couple of things in the display without succes. I did not find the right properties to do those changes. First, it seems I can't resize the graph to have it take close to the entire screen. Second, I'd like to change and display the scales on the picture, if possible on the round lines instead of the horizontal ones on the first quadrant. I've tried to play with differents properties but I'm unable to fnd the right ones to do those 2 changes. Maybe you can help me once again. Thanks a lot, I appreciate. Phil
Waveform chart to polar graph
Hi, I'm acquiring data from an instrument that I display on a Waveform Chart. All the data is between 0.98 and 1.02 approximately. Instead of displaying it on a waveform chart, I want to display it as a circle. I've tried to convert it (my data (R) around 1.00 and an increment (t) to use Rcos(t) and Rsin(t)) and display it on a XY graph, but it seems I am reading at a to high frequency (250Hz) to have it displayed in time. Can I do something about that? Also, I'd like to know how can I display polar scales on my graph. Thanks a lot. Phil
Subpanel.vi
Hi, I got a little question: I'm using the express subVI Subpanel.vi to display the front panel of a subVI on my principal VI front panel. When the execution of my VI is over, the subVI disapears from the Subpanel. Is it possible to keep it there? Thanks Phil
Reading in a loop
First, I want to thank all of you who answered to any of my questions, I appreciate it and it helps me to progress a lot. My actual question is about reading in a loop. I read a string (Visa read) of a specified lenght of bytes from my serial port. This visa read is in a while loop, and I'd like to cummulate all the readings in a text indicator (and eventually in a file). For now, I'm only able to get the last reading, 'cause if I put my text indicator in the loop, it overwrites at each iteration and if I put it outside, it keeps only the last reading. I'm sure it's just about concatenating or building text but I did not find how. Thanks once again for help. Philippe
Excution time counter
Hi, I got a simple little question: I've search without succes for a function or Express VI that justs return me the time of an execution of my application. I'm reading data from an external device and I need to check about frequency. So, if there's a way to get my execution time (not just the reading time, really the execution time) or a way to get from my wavechart the time of the last point, it would be usefull to me. Thanks. Phil
Ballbar Communication (SAGA) - Progressing :)
Thanks again for severals answers to my previous question. My problem was that, when I was using the Basic_Serial_Write_and_Read VI to communicate with the ballbar (serial port), I was getting an error about accessing the port. Then, with the answers I got, I ensured that MAX and Hyperterminal were closed and tried again. And I'm back to my first error about timeout. In MAX, I'm able to read data from the ballbar. When I send *IDN?\n I receive A12345 (its name), when I send *S?\n I get the anticipated data from the ballbar. But, when I try to do exactly the same in Labview, I get timeout error (or access error if MAX isn't closed). So I'm still trying to figure out why I get this time error. I've checked all the properties (baud rate, bytes to read, ..) and even if I make the same procedure as in MAX, I get this error. I'm a bit confused about why there's a difference between MAX procedure and Labview, so if someone has an idea, I'd appreciate it a lot. Thanks again for helping me solving my problem.
Serial Port - Ballbar 2
I first want to thank Dennis Knutson for his answer to my previous question about the ballbar and serial communication. I'm now able to communicate with it using MAX. But when I try to use the Labview Basic_Serial_Write_and_Read VI, I instantly get an error saying Error -1073807246 occurred at Property Node (arg 1) in VISA Configure Serial Port (Instr).vi-Basic_Serial_Write_and_Read.vi. It also tells me that my resource is valid, but than VISA can't access it. I am wondering which argument is arg 1 and aslo what can be creating this error. Thanks a lot. Philippe
Serial Communication - Double Ballbar
Hi, I've just passed through Labview Basics 1: Introduction and now I'm trying to communicate with a Ballbar (from Renishaw) through a serial port. After having tried severals examples from the manual about VISA communication, I've downloaded the following example from the website: Basic_Serial_Write_and_Read.vi and tried to run it after having configured the properties (baud rate, parity, ...). I sent *IDN? and I always get the Error -1073807339, which is Timeout expired before operation completed. I'm unable to find why I get this error, and I get the same trying to communicate using MAX. I'm wondering if anyone tried something similar with a ballbar and if anyone has an idea about what would be my problem. Thanks for any help. Philippe, =C9cole Polytechnique student