Lab 1 Introduction to MATLAB xPC Toolbox and the Advantec PC 104 computer boards Introduction The PC104 standard is for a system of computer
Once the DOS Loader files have been created and loaded on to the CF disc, insert it into the PC104 board’s CF flash slot and boot it up. When
Answer the following questions in your report. Q1. Describe briefly the capabilities of the PC104 board and the Diamond MM A/D, D/A board with menti
The above model, when implemented on the PC104 board transmits a square pulse using the serial link. You will find RS-232 Mainboard Setup block in th
NOTE: use the same COM ports in both RS232 Mainboard Setup and RS232 Mainboard Send block. If they are different, unexpected results may occur. The a
You can find the MUX block under library browser Simulink->Signal routing Answer these questions in your report. Q6. What is the fastest sam
Use anything as Name of the connection and click ok. Make sure you choose COM1 and click ok. The host PCs in the lab only have one COM port. Set COM
This is Part B of Lab 1. You will need to submit a separate report for this section. Experiment 1.4 Getting familiar with Diamond MM A/D and D/A boa
This experiment, as you see is similar to exp 1.3; although, here you are using the D/A and A/D modules to transmit and receive the sign
To transfer the data from the CF card to MATLAB workspace, first right click on target PC in xPC Explorer and select it as default. Type the following
Q11 Do you notice anything wrong with the signal received through A/D? If so what do you think causes discrepancy in the signal? Q12 If diamond MM bo
Run command: >> xpcexplr The command opens the MATLAB xPC Target Explorer as shown above. This is the window that configures t
Make sure you click “Apply” every time, after making any changes. If you move to a different window without clicking “Apply”, the changes are not save
Step 2.2.a Serial communication using dos loader In xPC Explorer, go to TargetPC1> Configuration> Communication and under communication
TCP/IP uses IPv4 addressing schemes to communicate with different Ethernet devices. We will not go into a discussion about IPv4 addressing but enough
Step 2.3 Enabling secondary IDE Go to xPC Explorer, under TargetPC1> Configuration> Settings and enable “Enable Secondary IDE” (see figure abov
NOTE: It is best practice to ensure sample times are exactly the same all over your model file unless you specifically need different sample rates in
Experiment 1.1 Building familiarity with xPC toolbox and executing real-time code in PC104. For your first task you will create a real-time program th
Once the model file is ready, save it and press Ctrl+b to build it. Then copy the three files shown in the below figure into the flash disc. NOT
Kommentare zu diesen Handbüchern