LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array Inports for Simulink Model For SIT

Hello,
     We are trying to meld two simulink models into one LabVIEW VI using custom SIT code, and not the SIT Connection Manager.  We have a attachment of the start of the file that we are trying to complete, so it might be easier to look at it while you read this.  The variables on the far left side are being initialized.  The top four variables that we have on the left side are each a 1-Dimensional Array of doubles, and the ones under are just doubles.  As you can see those variables are being called and used in the loops as they enter our simulink models and are being calculated.  Now this brings us to my question.  What type of format and order does the "SIT Take Model Time Step.vi" take into the Model Inputs port?  As you can see we are taking our 1-Dimensional Arrays, on the bottom loop, and building a single array, with concatenation.  Also, how do we assemble and dissemble those Model Inputs/Outputs going into that block?  The way that it is pictured in the attachment does not seem to be working properly.  We are getting an error in the bottom loop, the FADEC model, Error Code -1700 "Data could not be coerced to the requested descriptor type."  Thank you for all of the help. 
 
Michael B
0 Kudos
Message 1 of 2
(2,412 Views)

Hi Michael,

I have been looking into the situation that you describe here.  Is there any additional information about when and where you are experiencing this error?  Is it coming from SIT?  Is it related to the manipulation of the array or unbundling?  This would all be helpful information to look into this issue.  Thanks.

Jason W.

National Instruments
Applications Engineer
Message 2 of 2
(2,359 Views)