the serial read didnot complete within the specified timeout period

I have been using a Cobra-SRC and a frame grabber PCIe-1433 of NI for a while. I use LABVIEW to make Cobra-SRC work and used MATLAB to read data from PCIe-1433. Before they all ran well but now, when grabbing, it showed a dialog in LABVIEW:"IMAQ error: the serial read didnot complete within the specified timeout period". And an error occurs in MATLAB: "ni: cannot detect recognizable video source". I'm so confused that I did not change anything in MATLAB and LABVIEW. Could someone answer me this question???? Thank you in advance.

PXI RT crash, exception code: 0xC0000005

Hello Everyone,

I'm developing an LabVIEW application to acquire data from an instrument connected by ethernet, communicating with SCPI commands and my application is host on a NI8106 PXI controller.

My problem is that sometimes the PXI crash and restart because of a "system error", I tried to put probes everywhere to try to catch an eventual error at this moment but I didn't saw anything. On the error log of the PXI, i have the famous "0xC0000005" error.

Sometimes the PXI crash several time per day, sometimes it doesn't crash for more than 24 hours and I'm doing all the long the same operations.

On my code I have three task that runs in parallel, a "command parser" that monitor a variable on a server, the "Instrument task" acquires the data and sends them to the "Data Publisher" that log the data on the server and saves them in local.

The server is a server of my company and there is a homemade library to communicate with it. But i'm writing on the server once every 30 minutes and sometimes the PXI crash before so, I don't think if it's linked. I'm running now the code by disabling all the part dedicated to the server communication to see if there is a difference.

Sync. from two SQL Compact Edition 4.0 database

Hi,
Is it possible, to synchronize two SQL CE 4.0 with LabVIEW?
The situation is, that on two notebook is a database with same tables just filled with diffrent data. SQL Compact Edition 4.0

Is it possible to get both databases in one with labview ?

AF Inheritance on cRIO

Hi all,

I have started to experiment more seriously with the Linked Network Actor, to communicate between cRIO and Windows. One thing I have noticed while developing my test projects is this:

When I create a class on the cRIO I can't change the Inheritance to the Actor.lvclass. It offers me no inheritance other than the default LVObject. When I create it on the Windows side I can change the inheritance to Actor Framework, but when I move it to the cRIO the Class locks. As a result, I can't check the inheritance or make changes to it.
Why is that? Is it really the idea, to code on the windows target and then move everything to the cRIO?

When I do this, it sometimes happens that the launcher on the cRIO opens all actors instead of just the one on the RIO.

Thanks in advance for all your input.

Array Manipulation Bug

I''m running into an Array Manipulation bug that sometimes generates an extra element causing a bogus numbers to be added to the array for some odd reason. It doesn't do this all the time, but it does it sometimes. Which is of course is inconstant.

I can't quite see what I'm doing wrong, and why it is inconsistent results. There should never be a "0" in the array's, but it keeps showing up. But it only shows up if an extra element is added to the array. I tried to isolate it using Case statements, but both Array manipulation routines are doing it.

This routine example is intended to exercise Array mathematical operations. However these VI's are sometimes adding elements and inserting "0" at random times. How am I incorrectly using these Array Manipulation VI's?

Using Multiple Daq

Hello,

I was working on some sensors, for example, Thermocouple and Loadcell. I have prepared 2 seperate vi's for them, but I wanted to merge them into one and see the results in one front panel.

So I put them in one VI and tried to run but it did'nt happen. Then I set one of them start 3 seconds after I push the run button, then it worked for other one but after 3 seconds process stopped.

After little investigation, I learned that some cards have only one ADC so they can't operate two analog signal output, but I am using SC-2345 and I guess that is nonsense. also for info; I am getting loadcell data from SC-2345 and thermocouple data from SCC-TC01 connectod to SC-2345. also SC-2345 is connected to NI USB-6259 screw terminal.

Conclusion; how could I get data from multiple Data accusition devices in one blok? I will porbably have to use 6 more daq in one VI, and that should be possible.

Accessing every other data point in a dynamic data type (question in attached images)

So I thought that my question would be best explained through word equation editor, so I have attached screenshots explaining my situation and what I am trying to do (temp 2).
[img]http://forums.ni.com/ni/attachments/ni/170/1006091/1/temp1.png[/img]
[img]http://forums.ni.com/ni/attachments/ni/170/1006091/2/temp2.png[/img]

Not possible to subscribe an OPC server to the Distributed Systems Manager

Hi everyone,

I am trying to subscribe a OPC server into the DSM and it gives me back a "NI OPC client Status" OPC like tree.
When i try with localhost matrikon it doesnt give a problem, so i expect that it is a network permissions issue.
is it? is it not? is there something in the NI services that i need to fix? is it DCOM?
If it is not, can you please give me some advises?
[img]http://forums.ni.com/ni/attachments/ni/170/1005157/1/Capturefff.JPG[/img]

IMAQ Machine vision does not appear in labview palletes

Hello everybody! I have been installed NI IMAQ, IMAQdx an IMAQ I/O. in Labview 2012, and I have been activated as well, but the problem is functions like edge detector does no appear in my pallete, only a few appears.
Here is a picture of the vision pallete.
What could be doing wrong? Any idea?

I'm using IMAQ 4.7.2
IMAQdx 4.1
IMAQ I/O 2.6.1
Labview 12.0 (32-bit)

Best regards!
[img]http://forums.ni.com/ni/attachments/ni/170/1005726/1/Labview.png[/img]
[img]http://forums.ni.com/ni/attachments/ni/170/1005726/2/LabviewVersion.png[/img]

Rate(Hz) as an equation in DAQ Assistant

I was trying to put my Rate in the DAQ Assistant as an equation, is there any way I can do this?

Thank you!
Syed Zain Nasir

I am Syed Zain Nasir, the founder of <a href=https://www.TheEngineeringProjects.com/>The Engineering Projects</a> (TEP). I am a programmer since 2009 before that I just search things, make small projects and now I am sharing my knowledge through this platform.I also work as a freelancer and did many projects related to programming and electrical circuitry. <a href=https://plus.google.com/+SyedZainNasir/>My Google Profile+</a>

Share
Published by
Syed Zain Nasir