09-17-2024 10:52 AM
I have what seems like a simple problem but has been frustrating me for a bit now.
I have a pop-up window that allows a user to load up various parameters for a motor test fixture. In this window, they'll specify the motor type and select a test profile from a CSV file of their choice.
The CSV file is parsed and outputs an array of "time" and "setpoint". Setpoint will be RPM, but for the example i'm working on I just left it as "setpoint".
This profile is put into a cluster and will ultimately be sent to the main VI where it will be fed into a PID vi. This is the same PID vi found in the LV examples.
I for some reason cannot get my cluster output to match the same cluster that the PID is expecting. I've included pictures of the data types for each, display windows for each and the block diagram of how i'm creating this cluster. For the example below, the ideal cluster values are the same values i have in the CSV file.
Data type of the cluster I’m trying to mimic
Cluster that I’ve made by importing values from a csv file
Outputs: The cluster I created is vertical, “time” on top and “set point” below it. The cluster I want to mimic has time on the left and setpoint on the right.
Block Diagram
Display
09-17-2024 02:34 PM - edited 09-17-2024 02:36 PM
Hi Amagis,
@AMAGIS wrote:
Outputs: The cluster I created is vertical, “time” on top and “set point” below it. The cluster I want to mimic has time on the left and setpoint on the right.
Right-click the cluster border-> autosizing -> arrange horizontally…
Recommendation: type-define your clusters!