LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DataSocket update in LV 7.1

Hi!

I need to see if DS is updated in LV 7.1. There is a simple method for this in older versions of LV. Using the VI DataSocket Data Updated.vi where a Boolean true is returned if DS indicates an update.
What is the equivalent in LV 7.1?
Is it using the polymorphic VI or using property node?

Regards,

Idriz
Idriz "Minnet" Zogaj, M.Sc. Engineering Physics
Memory Profesional
direct: +46 (0) - 734 32 00 10
http://www.zogaj.se
0 Kudos
Message 1 of 10
(3,972 Views)
Hello!

The VI you are asking for is still shipped with LabVIEW. Just browse to this very location:

C:\Program Files\National Instruments\LabVIEW 7.1\vi.lib\platform\dataskt.llb

In this LLB you will find the VI in question.

Regards,
Jimmie Adolph
Applications Engineer, National Instruments
Regards,
Jimmie Adolph
Systems Engineering Manager, National Instruments Northern European Region

0 Kudos
Message 2 of 10
(3,948 Views)
Hi Jimmie!

I have the vi in question. That is not the problem. The problem is that we have updated our program to LV 7.1 and in LV 7.1 the DS vi:s do not work in conjunction with the old DS vi:s (at least haven’t don so for us). So, we have modified all old vi:s to the new format using manly the polymorphic DS vi. But I can not obtain the functionality of the vi DataSocket Data updated?

I need to check using DS if data is updated and then read the command from DS. I can not find a simple way to do this with the new vi:s. So, my question is, is there a simple way to do this?

Hope the question is a bit clearer.

Regards,

Idriz
Idriz "Minnet" Zogaj, M.Sc. Engineering Physics
Memory Profesional
direct: +46 (0) - 734 32 00 10
http://www.zogaj.se
0 Kudos
Message 3 of 10
(3,937 Views)
Hello,

There is a wait for updated value<\b> terminal on the datasocket read, which, in association with the timed out<\b> terminal, serves the same purpose.

To totally answer the question, the different datasocket VI's can't coexist in the same because the latest ones are pure LV primitives while the old ones are basically calls the ComponentWorks ActiveX

hope this helps,
Cyril Bouton
Active LabVIEW Developper
0 Kudos
Message 4 of 10
(3,934 Views)
Hello!

There is not that much documentation available about these datasocket VI’s, but I managed to modify an example so it uses the VI you asked for in a proper way. See attached examples.

Regards,
Jimmie A.
Applications Engineer, National Instruments
Regards,
Jimmie Adolph
Systems Engineering Manager, National Instruments Northern European Region

0 Kudos
Message 5 of 10
(3,930 Views)
Hi!

Do you have any simple example code you can send me?

Regards,

Idriz
Idriz "Minnet" Zogaj, M.Sc. Engineering Physics
Memory Profesional
direct: +46 (0) - 734 32 00 10
http://www.zogaj.se
0 Kudos
Message 6 of 10
(3,925 Views)
Hello!

Please check the attached code in my post above!

Regards,
Jimmie A.
Applications Engineer, National Instruments
Regards,
Jimmie Adolph
Systems Engineering Manager, National Instruments Northern European Region

0 Kudos
Message 7 of 10
(3,913 Views)
Hi!

I did check your attached code. Than you. How ever it did not solve my problem since I am not using the same DS VI:s. It is with the newer, LV 7.1, that I have problem. I know that the VI:s you used are shipped with LV 7.1 but I am not using thos at all.

I was looking for example code using the newer, polymorphic VI:s.

Regards,

Idriz
Idriz "Minnet" Zogaj, M.Sc. Engineering Physics
Memory Profesional
direct: +46 (0) - 734 32 00 10
http://www.zogaj.se
0 Kudos
Message 8 of 10
(3,907 Views)
Sorry was out for the WE,

Here you go for a creen shot of the diagram.

Regards,
Cyril Bouton
Active LabVIEW Developper
Message 9 of 10
(3,891 Views)
Thanks Cyril!

That was it!

Regards,

Idriz
Idriz "Minnet" Zogaj, M.Sc. Engineering Physics
Memory Profesional
direct: +46 (0) - 734 32 00 10
http://www.zogaj.se
0 Kudos
Message 10 of 10
(3,876 Views)