LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ni-xnet problem with the in memory database creation

Hi everyone,

I have a problem when I try to create a "in memory database" with ni-xnet.

I used a XNET Database Create Object vi (Cluster) in order to create a Cluster (passing to its "database in" input the ":memory:" string costant).

Then, inside a for loop, I used another XNET Database Create Object vi (Frame) in order to create some Frames within the previous Cluster.

Within the same for loop i created another for loop, and inside of it I used another XNET Database Create Object vi (signal) in order to create some signals for each of the created Frames. So far so good.

Then, as a result of an event, I want to read the in memory database previously created but a problem arise: the Cluster and its Frames are correct (identifier, payload length, etc), but there is no signal into the frames.

Why have the signals not been saved?

Anyone can help me please?

Thank you and sorry for my bad english.

 

I attach two images with the codes that i used to create the "in memory database" and to read from it.

Download All
0 Kudos
Message 1 of 2
(3,076 Views)

Hello Feto,

 

Can your repost your question in the following section of the forum?
http://forums.ni.com/t5/Industrial-Communications/bd-p/260

 

This will give you a better (and faster) response and will allow you to address a more specific user group.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 2 of 2
(3,054 Views)