Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

passing a structure from Teststand to CVI

$
0
0

Hello,

 

I've a few structures in Teststand 3.1 sequence I passed in parameters of functions to CVI 8.1.

Now I migrate to Teststand 2013 and CVI 2013 but face some issues.

One structure has been modified and now is OK.

A second one is bigger (about 10 containers, with subcontainers, 17kbytes) and I can't see my data in CVI at the right place with an error when going back to Teststand -17308

===

Expected Number {64-bit Floating Point}, found Number {Signed 64-bit Integer}.

NOTE: Numeric representations must match exactly.

Use the following to specify a numeric constant in an expression:
64-bit Floating Point: 1234
Signed 64-bit Integer: 1234i64
Unsigned 64-bit Integer: 1234ui64

Use the following expression functions to convert between representations:
Convert to 64-bit Floating Point: Float64()
Convert to signed 64-bit Integer: Int64()
Convert to unsigned 64-bit Integer: UInt64()

Use the following API functions to get or set values of the various representations:
(NOTE: You can use PropOption_CoerceFromNumber and PropOption_CoerceToNumber to coerce between representations.)
64-bit Floating Point: Get\SetValNumber or Get\SetValNumberByOffset
Signed 64-bit Integer: Get\SetValInteger64 or Get\SetValInteger64ByOffset
Unsigned 64-bit Integer: Get\SetValUnsignedInteger64 or Get\SetValUnsignedInteger64ByOffset. Error in parameter 4, 'Param_Product'.

===

How can I identify which member of the container creates this error?

I thought I can move out some sub-containers but as when moved a container looses some of its properties, it is very difficult.

 

Regards


Viewing all articles
Browse latest Browse all 6524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>