08-05-2019 09:16 AM
08-08-2019 04:44 AM - edited 08-08-2019 04:45 AM
thanks fo your help. i decided to generate PWM signals with finite samples using digital output (No counter). and read serial data using NI VISA.
My problem is im not sure if samples, rate and generated PWM signals are correct.
the whole task is:
reading data stored on the PCB (in Actuator for exhaust valve, Test voltage 14V, 300Hz). When read out is activated data is sent over a serial protocol (identical on PWM-IN and PWMOUT line by grounding the signal). To activate readout the following command has to be applied on PWM-IN pin:
frequency 300 Hz ±5
1. Duty cycle 80 ±5 (10 periods)
2. Duty cycle 50 ±5 (10 periods)
3. Duty cycle 10 ±5 (10 periods)
The supply voltage has to be within the specified range during that time. Operation frequency has to be within valid range for the complete activation sequence, otherwise the sequence has to be restarted. Every duty cycle has to be applied for 10 periods. The order of duty cycles has to be complied. After the last duty cycle the data of 95 Byte will be transmitted.
After transmission of the starting sequence the PWM-IN has to be held high and PWM has to be deactivated. Afterwards the actuator transmits the data serially on the PWM-IN and the PWMOUT line. Preferably to be evaluated is the PWM-In line. Data is transmitted identically. During data transmission no monitoring and control will occur. For data transmission a baud rate of 9600Baud/s ±5% is used. To every byte a start and a stop bit is added, complying with an RS232 8N1 interface. A synchronization of the baud rate is recommended.
08-08-2019 04:49 AM
thanks fo your help. i decided to generate PWM signals with finite samples using digital output (No counter). and read serial data using NI VISA.
My problem is im not sure if Samples, rate and generated PWM signals are correct.
the whole task is:
reading data stored on the PCB (in Actuator for exhaust valve, Test voltage 14V, 300Hz). When read out is activated data is sent over a serial protocol (identical on PWM-IN and PWMOUT line by grounding the signal). To activate readout the following command has to be applied on PWM-IN pin:
frequency 300 Hz ±5
1. Duty cycle 80 ±5 (10 periods)
2. Duty cycle 50 ±5 (10 periods)
3. Duty cycle 10 ±5 (10 periods)
The supply voltage has to be within the specified range during that time. Operation frequency has to be within valid range for the complete activation sequence, otherwise the sequence has to be restarted. Every duty cycle has to be applied for 10 periods. The order of duty cycles has to be complied. After the last duty cycle the data of 95 Byte will be transmitted.
After transmission of the starting sequence the PWM-IN has to be held high and PWM has to be deactivated. Afterwards the actuator transmits the data serially on the PWM-IN and the PWMOUT line. Preferably to be evaluated is the PWM-In line. Data is transmitted identically. During data transmission no monitoring and control will occur. For data transmission a baud rate of 9600Baud/s ±5% is used. To every byte a start and a stop bit is added, complying with an RS232 8N1 interface. A synchronization of the baud rate is recommended.
08-08-2019 05:03 AM
thanks fo your help. i decided to generate PWM signals with finite samples using digital output (No counter). and read serial data using NI VISA.
My problem is im not sure if samples, rate and generated PWM signals are correct.
the whole task is:
reading data stored on the PCB (in Actuator for exhaust valve, Test voltage 14V, 300Hz). When read out is activated data is sent over a serial protocol (identical on PWM-IN and PWMOUT line by grounding the signal). To activate readout the following command has to be applied on PWM-IN pin:
frequency 300 Hz ±5
1. Duty cycle 80 ±5 (10 periods)
2. Duty cycle 50 ±5 (10 periods)
3. Duty cycle 10 ±5 (10 periods)
The supply voltage has to be within the specified range during that time. Operation frequency has to be within valid range for the complete activation sequence, otherwise the sequence has to be restarted. Every duty cycle has to be applied for 10 periods. The order of duty cycles has to be complied. After the last duty cycle the data of 95 Byte will be transmitted.
After transmission of the starting sequence the PWM-IN has to be held high and PWM has to be deactivated. Afterwards the actuator transmits the data serially on the PWM-IN and the PWMOUT line. Preferably to be evaluated is the PWM-In line. Data is transmitted identically. During data transmission no monitoring and control will occur. For data transmission a baud rate of 9600Baud/s ±5% is used. To every byte a start and a stop bit is added, complying with an RS232 8N1 interface. A synchronization of the baud rate is recommended.
08-08-2019 05:18 AM
Thank you for your generous Help.
I decided to generate PWM Signals using Digital I/O and read Serial Data using NI VISA ( Using Serial to usb adapter). My Problems is, i'm not quite sure if generated PWM signals, Samples and Rate are correct. Sometime i'm not be able to read whole serial data.
the Whole Task is: Reading data stored on the PCB (inside a Actuator for exhaust valve) can be read out via the electrical interface.
When read out is activated data is sent over a serial protocol (identical on PWM-IN and PWMOUT
line by grounding the signal). To activate readout the following command has to be applied on PWM-IN pin:
frequency 300 Hz
1. Duty cycle 80 (10 periods)
2. Duty cycle 50 (10 periods)
3. Duty cycle 10 (10 periods)
The supply voltage has to be within the specified range during that time. Operation frequency has to be within valid range for the complete activation sequence, otherwise the sequence has to be restarted. Every duty cycle has to be
applied for 10 periods. The order of duty cycles has to be complied. After the last duty cycle the data of 95 Byte will be transmitted. After transmission of the starting sequence the PWM-IN has to be held high and PWM has to be
deactivated. Afterwards the actuator transmits the data serially on the PWM-IN and the PWMOUT line. Preferably to be evaluated is the PWM-In line. Data is transmitted identically. During data transmission no monitoring and
control will occur. For data transmission a baud rate of 9600Baud/s ±5% is used. To every byte a start and a stop bit is added, complying with an RS232 8N1 interface. A synchronization of the baud rate is recommended.
08-08-2019 05:31 AM
the other SubVIs