09-21-2009 07:30 AM
Glad to read that.
I have been busy all weekend and didn't get a chance to re-visit the code.
09-24-2009 09:09 AM - edited 09-24-2009 09:10 AM
well Ray.R
I have done somethings here and its working nice, but today i notice a problem here and maybe you can help me
When I run the client.vi
I receive an error
Possible reason(s):
LabVIEW: Memory or data structure corrupt.
And if I click to continue
I receive another error:
Possible reason(s):
LabVIEW: The network operation exceeded the user-specified or system time limit.
I think is because i'm waiting 60 seconds to send the information to Client.vi!
Because i don't have any problem with the data i'm sending!
I will upload the new server.vi and I hope you can give me some feedback!
Thanks
09-24-2009 09:47 AM
Hi Edu,
I do not have LV installed at this PC, so I will only be able to look at this tonight.
I suspect that you are correct:
EduU wrote:
LabVIEW: The network operation exceeded the user-specified or system time limit.
I think is because i'm waiting 60 seconds to send the information to Client.vi!
But it may also be due to the data corruption..
09-24-2009 09:53 AM - edited 09-24-2009 10:00 AM
Are you calling any dll's as part of your code?
Or perhaps calling / using scripts? (I doubt)
09-24-2009 10:01 AM
You could also post an image of your code, that way I could look at it sooner.
R
09-28-2009 06:56 AM
Hey Ray R.
I didn't upload a image because the code is too big... so i won't appear all at one window!
Well i was doing something here and i need help in one more thing
I'm trying to make my code show the RMS value and a Waveform graph
If i do only one of them it works, but if i put both to do i receive an error at waveform graph:
Error -200278 occurred at DAQmx Read (Analog 1D Wfm NChan NSamp).vi:1
Possible reason(s):
Measurements: Attempted to read a sample beyond the final sample acquired. The acquisition has stopped, therefore the sample specified by the combination of position and offset will never be available.
Specify a position and offset which selects a sample up to, but not beyond, the final sample acquired. The final sample acquired can be determined by querying the total samples acquired after an acquisition has stopped.
Attempted to Read Sample: 3600
Property: RelativeTo
Corresponding Value: Current Read Position
Property: Offset
Corresponding Value:
Task Name: _unnamedTask<A>
Maybe you could help me here!
I will upload the vi again, because i changed somethings
and i will try to upload a ss from this part too!
Thanks!
09-28-2009 07:37 AM
Hi Edu,
Here's an explanation:
"This error occurs when a DAQmx read function attempts to return data
after the board has stopped acquiring it. One common occurrence of this
error is when a DAQmx read function is used inside of a while loop when
the task is configured for a finite acquisition."
Details can be found here
I'll have a look at the code tonight.
R
09-28-2009 07:41 AM
I just looked at your attached image.
Are you trying to take the RMS value of new samples/new data? Or are you trying to get the RMS value of the same data as for the 2D array?
If so, you should wire from the 2D array take the RMS value and plot the result.
Did you want them on seperate graphs?
Not, you should also wire the error clusters for all your functions, in case some other error causes some sort of cascade.
R
09-28-2009 07:47 AM
Well I want to see the wave form from what I'm doing
I will show the RMS values only in a single precision and the wave form in a graph
so maybe is better take the graph from the 2D array right?
How can I do that?
Tonight you can take a look at my code
so you can find better solutions, or something to make it a better program
I will wait your post =D
09-28-2009 08:07 PM
Hi Edu,
Can you save as previous version and select LV8.5?
I do not have LV8.6 installed.
Thanks,
RayR