Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
devices.7.138.0.source-code.MARTE2_NI6368Setup Maven / Gradle / Ivy
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author mdsplus
*/
public class MARTE2_NI6368Setup extends DeviceSetup {
/**
* Creates new form MARTE2_NI6368Setup
*/
public MARTE2_NI6368Setup() {
initComponents();
}
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// //GEN-BEGIN:initComponents
private void initComponents() {
deviceButtons1 = new DeviceButtons();
jPanel1 = new javax.swing.JPanel();
jPanel2 = new javax.swing.JPanel();
deviceField1 = new DeviceField();
deviceField2 = new DeviceField();
deviceField3 = new DeviceField();
deviceChoice1 = new DeviceChoice();
jPanel3 = new javax.swing.JPanel();
deviceChoice2 = new DeviceChoice();
deviceChoice3 = new DeviceChoice();
deviceChoice4 = new DeviceChoice();
jPanel4 = new javax.swing.JPanel();
deviceChoice5 = new DeviceChoice();
deviceChoice6 = new DeviceChoice();
deviceField4 = new DeviceField();
jPanel5 = new javax.swing.JPanel();
deviceField5 = new DeviceField();
deviceField6 = new DeviceField();
deviceField7 = new DeviceField();
deviceField8 = new DeviceField();
jScrollPane1 = new javax.swing.JScrollPane();
jPanel6 = new javax.swing.JPanel();
jPanel7 = new javax.swing.JPanel();
deviceChoice7 = new DeviceChoice();
deviceField10 = new DeviceField();
jPanel8 = new javax.swing.JPanel();
deviceChoice8 = new DeviceChoice();
deviceField11 = new DeviceField();
jPanel9 = new javax.swing.JPanel();
deviceChoice9 = new DeviceChoice();
deviceField12 = new DeviceField();
jPanel10 = new javax.swing.JPanel();
deviceChoice10 = new DeviceChoice();
deviceField13 = new DeviceField();
jPanel11 = new javax.swing.JPanel();
deviceChoice11 = new DeviceChoice();
deviceField14 = new DeviceField();
jPanel12 = new javax.swing.JPanel();
deviceChoice12 = new DeviceChoice();
deviceField15 = new DeviceField();
jPanel13 = new javax.swing.JPanel();
deviceChoice13 = new DeviceChoice();
deviceField16 = new DeviceField();
jPanel14 = new javax.swing.JPanel();
deviceChoice14 = new DeviceChoice();
deviceField17 = new DeviceField();
setDeviceProvider("scdevail:8100");
setDeviceTitle("MARTe2 NI 6368 ADC Setup");
setDeviceType("MARTE2_NI6368");
setHeight(400);
setWidth(900);
getContentPane().add(deviceButtons1, java.awt.BorderLayout.PAGE_END);
jPanel1.setLayout(new java.awt.GridLayout(4, 1));
deviceField1.setIdentifier("");
deviceField1.setLabelString("Board id: ");
deviceField1.setNumCols(2);
deviceField1.setOffsetNid(10);
jPanel2.add(deviceField1);
deviceField2.setIdentifier("");
deviceField2.setLabelString("DMA Buf.Size: ");
deviceField2.setNumCols(4);
deviceField2.setOffsetNid(13);
jPanel2.add(deviceField2);
deviceField3.setIdentifier("");
deviceField3.setLabelString("Delay Div: ");
deviceField3.setNumCols(3);
deviceField3.setOffsetNid(16);
jPanel2.add(deviceField3);
deviceChoice1.setChoiceItems(new String[] {"INTERNALTIMING", "PFI0", "PFI1", "PFI2", "PFI3", "PFI4", "PFI5", "PFI6", "PFI7", "PFI8", "PFI9", "PFI10", "PFI11", "PFI12", "PFI13", "PFI14", "PFI15", "RTSI0", "RTSI0", "RTSI1", "RTSI2", "RTSI3", "RTSI4", "RTSI5", "RTSI6", "DIO_CHGDETECT", "G0_OUT", "G1_OUT", "G2_OUT", "G3_OUT", "STAR_TRIGGER", "SCXI_TRIG1", "LOW", "PXIE_DSTARA", "ATRIG", "PXIE_DSTARB", "G0_SAMPLECLK", "G1_SAMPLECLK", "G2_SAMPLECLK", "G3_SAMPLECLK", "DI_CONVERT", "AO_UPDATE", "DO_UPDATE", "INTTRIGGERA0", "INTTRIGGERA1", "INTTRIGGERA2", "INTTRIGGERA3", "INTTRIGGERA4", "INTTRIGGERA5", "INTTRIGGERA6", "INTTRIGGERA7"});
deviceChoice1.setIdentifier("");
deviceChoice1.setLabelString("Clock Sample Src.: ");
deviceChoice1.setOffsetNid(19);
deviceChoice1.setUpdateIdentifier("");
jPanel2.add(deviceChoice1);
jPanel1.add(jPanel2);
deviceChoice2.setChoiceItems(new String[] {"ACTIVE_HIGH_OR_RISING_EDGE", "ACTIVE_LOW_OR_FALLING_EDGE"});
deviceChoice2.setIdentifier("");
deviceChoice2.setLabelString("Clock Sample Pol.:");
deviceChoice2.setOffsetNid(22);
deviceChoice2.setUpdateIdentifier("");
jPanel3.add(deviceChoice2);
deviceChoice3.setChoiceItems(new String[] {"INTERNALTIMING", "PFI0", "PFI1", "PFI2", "PFI3", "PFI4", "PFI5", "PFI6", "PFI7", "PFI8", "PFI9", "PFI10", "PFI11", "PFI12", "PFI13", "PFI14", "PFI15", "RTSI0", "RTSI0", "RTSI1", "RTSI2", "RTSI3", "RTSI4", "RTSI5", "RTSI6", "DIO_CHGDETECT", "G0_OUT", "G1_OUT", "G2_OUT", "G3_OUT", "STAR_TRIGGER", "SCXI_TRIG1", "LOW", "PXIE_DSTARA", "ATRIG", "PXIE_DSTARB", "G0_SAMPLECLK", "G1_SAMPLECLK", "G2_SAMPLECLK", "G3_SAMPLECLK", "DI_CONVERT", "AO_UPDATE", "DO_UPDATE", "INTTRIGGERA0", "INTTRIGGERA1", "INTTRIGGERA2", "INTTRIGGERA3", "INTTRIGGERA4", "INTTRIGGERA5", "INTTRIGGERA6", "INTTRIGGERA7"});
deviceChoice3.setIdentifier("");
deviceChoice3.setLabelString("Clock Convert Src.:");
deviceChoice3.setOffsetNid(25);
deviceChoice3.setUpdateIdentifier("");
jPanel3.add(deviceChoice3);
deviceChoice4.setChoiceItems(new String[] {"ACTIVE_HIGH_OR_RISING_EDGE", "ACTIVE_LOW_OR_FALLING_EDGE"});
deviceChoice4.setIdentifier("");
deviceChoice4.setLabelString("Clock Convert Pol.:");
deviceChoice4.setOffsetNid(28);
deviceChoice4.setUpdateIdentifier("");
jPanel3.add(deviceChoice4);
jPanel1.add(jPanel3);
deviceChoice5.setChoiceItems(new String[] {"COUNTER_TB1", "COUNTER_TB2", "COUNTER_TB3", "PFI0", "PFI1", "PFI2", "PFI3", "PFI4", "PFI5", "PFI6", "PFI7", "PFI8", "PFI9", "PFI10", "PFI11", "PFI12", "PFI13", "PFI14", "PFI15", "RTSI0", "RTSI1", "RTSI2", "RTSI3", "RTSI4", "RTSI5", "RTSI6", "PXI_CLK0", "STAR_TRIGGER", "ANALOG_TRIGGER", "D_STARA", "D_STARB", "STAR_TRIGGER"});
deviceChoice5.setIdentifier("");
deviceChoice5.setLabelString("Scan Int.Count. Src:.");
deviceChoice5.setOffsetNid(31);
deviceChoice5.setUpdateIdentifier("");
jPanel4.add(deviceChoice5);
deviceChoice6.setChoiceItems(new String[] {"RISING_EDGE", "FALLING_EDGE"});
deviceChoice6.setIdentifier("");
deviceChoice6.setLabelString("Scan Int.Count. Pol.:");
deviceChoice6.setOffsetNid(34);
deviceChoice6.setUpdateIdentifier("");
jPanel4.add(deviceChoice6);
deviceField4.setIdentifier("");
deviceField4.setLabelString("Scan Int. Count. Per.:");
deviceField4.setNumCols(3);
deviceField4.setOffsetNid(37);
jPanel4.add(deviceField4);
jPanel1.add(jPanel4);
deviceField5.setIdentifier("");
deviceField5.setLabelString("Scan Int. Count. Delay:");
deviceField5.setNumCols(3);
deviceField5.setOffsetNid(40);
jPanel5.add(deviceField5);
deviceField6.setIdentifier("");
deviceField6.setLabelString("Samples");
deviceField6.setNumCols(4);
deviceField6.setOffsetNid(70);
jPanel5.add(deviceField6);
deviceField7.setIdentifier("");
deviceField7.setLabelString("Storage CPU Mask: ");
deviceField7.setNumCols(4);
deviceField7.setOffsetNid(50);
jPanel5.add(deviceField7);
deviceField8.setIdentifier("");
deviceField8.setLabelString("Acq. CPU Mask: ");
deviceField8.setNumCols(4);
deviceField8.setOffsetNid(43);
jPanel5.add(deviceField8);
jPanel1.add(jPanel5);
getContentPane().add(jPanel1, java.awt.BorderLayout.PAGE_START);
jPanel6.setLayout(new java.awt.GridLayout(8, 1));
jPanel7.setBorder(javax.swing.BorderFactory.createTitledBorder("Channel 1"));
deviceChoice7.setChoiceFloatValues(new float[] {1.0f, 2.0f, 5.0f, 10.0f});
deviceChoice7.setChoiceItems(new String[] {"1.", "2.", "5.", "10."});
deviceChoice7.setIdentifier("");
deviceChoice7.setLabelString("Input Range: ");
deviceChoice7.setOffsetNid(77);
deviceChoice7.setUpdateIdentifier("");
jPanel7.add(deviceChoice7);
deviceField10.setIdentifier("");
deviceField10.setLabelString("Seg. Len: ");
deviceField10.setNumCols(4);
deviceField10.setOffsetNid(72);
jPanel7.add(deviceField10);
jPanel6.add(jPanel7);
jPanel8.setBorder(javax.swing.BorderFactory.createTitledBorder("Channel 2"));
deviceChoice8.setChoiceFloatValues(new float[] {1.0f, 2.0f, 5.0f, 10.0f});
deviceChoice8.setChoiceItems(new String[] {"1.", "2.", "5.", "10."});
deviceChoice8.setIdentifier("");
deviceChoice8.setLabelString("Input Range: ");
deviceChoice8.setOffsetNid(91);
deviceChoice8.setUpdateIdentifier("");
jPanel8.add(deviceChoice8);
deviceField11.setIdentifier("");
deviceField11.setLabelString("Seg. Len: ");
deviceField11.setNumCols(4);
deviceField11.setOffsetNid(86);
jPanel8.add(deviceField11);
jPanel6.add(jPanel8);
jPanel9.setBorder(javax.swing.BorderFactory.createTitledBorder("Channel 3"));
deviceChoice9.setChoiceFloatValues(new float[] {1.0f, 2.0f, 5.0f, 10.0f});
deviceChoice9.setChoiceItems(new String[] {"1.", "2.", "5.", "10."});
deviceChoice9.setIdentifier("");
deviceChoice9.setLabelString("Input Range: ");
deviceChoice9.setOffsetNid(105);
deviceChoice9.setUpdateIdentifier("");
jPanel9.add(deviceChoice9);
deviceField12.setIdentifier("");
deviceField12.setLabelString("Seg. Len: ");
deviceField12.setNumCols(4);
deviceField12.setOffsetNid(100);
jPanel9.add(deviceField12);
jPanel6.add(jPanel9);
jPanel10.setBorder(javax.swing.BorderFactory.createTitledBorder("Channel 4"));
deviceChoice10.setChoiceFloatValues(new float[] {1.0f, 2.0f, 5.0f, 10.0f});
deviceChoice10.setChoiceItems(new String[] {"1.", "2.", "5.", "10."});
deviceChoice10.setIdentifier("");
deviceChoice10.setLabelString("Input Range: ");
deviceChoice10.setOffsetNid(119);
deviceChoice10.setUpdateIdentifier("");
jPanel10.add(deviceChoice10);
deviceField13.setIdentifier("");
deviceField13.setLabelString("Seg. Len: ");
deviceField13.setNumCols(4);
deviceField13.setOffsetNid(114);
jPanel10.add(deviceField13);
jPanel6.add(jPanel10);
jPanel11.setBorder(javax.swing.BorderFactory.createTitledBorder("Channel 5"));
deviceChoice11.setChoiceFloatValues(new float[] {1.0f, 2.0f, 5.0f, 10.0f});
deviceChoice11.setChoiceItems(new String[] {"1.", "2.", "5.", "10."});
deviceChoice11.setIdentifier("");
deviceChoice11.setLabelString("Input Range: ");
deviceChoice11.setOffsetNid(133);
deviceChoice11.setUpdateIdentifier("");
jPanel11.add(deviceChoice11);
deviceField14.setIdentifier("");
deviceField14.setLabelString("Seg. Len: ");
deviceField14.setNumCols(4);
deviceField14.setOffsetNid(128);
jPanel11.add(deviceField14);
jPanel6.add(jPanel11);
jPanel12.setBorder(javax.swing.BorderFactory.createTitledBorder("Channel 6"));
deviceChoice12.setChoiceFloatValues(new float[] {1.0f, 2.0f, 5.0f, 10.0f});
deviceChoice12.setChoiceItems(new String[] {"1.", "2.", "5.", "10."});
deviceChoice12.setIdentifier("");
deviceChoice12.setLabelString("Input Range: ");
deviceChoice12.setOffsetNid(147);
deviceChoice12.setUpdateIdentifier("");
jPanel12.add(deviceChoice12);
deviceField15.setIdentifier("");
deviceField15.setLabelString("Seg. Len: ");
deviceField15.setNumCols(4);
deviceField15.setOffsetNid(142);
jPanel12.add(deviceField15);
jPanel6.add(jPanel12);
jPanel13.setBorder(javax.swing.BorderFactory.createTitledBorder("Channel 7"));
deviceChoice13.setChoiceFloatValues(new float[] {1.0f, 2.0f, 5.0f, 10.0f});
deviceChoice13.setChoiceItems(new String[] {"1.", "2.", "5.", "10."});
deviceChoice13.setIdentifier("");
deviceChoice13.setLabelString("Input Range: ");
deviceChoice13.setOffsetNid(161);
deviceChoice13.setUpdateIdentifier("");
jPanel13.add(deviceChoice13);
deviceField16.setIdentifier("");
deviceField16.setLabelString("Seg. Len: ");
deviceField16.setNumCols(4);
deviceField16.setOffsetNid(156);
jPanel13.add(deviceField16);
jPanel6.add(jPanel13);
jPanel14.setBorder(javax.swing.BorderFactory.createTitledBorder("Channel 8"));
deviceChoice14.setChoiceFloatValues(new float[] {1.0f, 2.0f, 5.0f, 10.0f});
deviceChoice14.setChoiceItems(new String[] {"1.", "2.", "5.", "10."});
deviceChoice14.setIdentifier("");
deviceChoice14.setLabelString("Input Range: ");
deviceChoice14.setOffsetNid(175);
deviceChoice14.setUpdateIdentifier("");
jPanel14.add(deviceChoice14);
deviceField17.setIdentifier("");
deviceField17.setLabelString("Seg. Len: ");
deviceField17.setNumCols(4);
deviceField17.setOffsetNid(170);
jPanel14.add(deviceField17);
jPanel6.add(jPanel14);
jScrollPane1.setViewportView(jPanel6);
getContentPane().add(jScrollPane1, java.awt.BorderLayout.CENTER);
getAccessibleContext().setAccessibleName("");
}// //GEN-END:initComponents
// Variables declaration - do not modify//GEN-BEGIN:variables
private DeviceButtons deviceButtons1;
private DeviceChoice deviceChoice1;
private DeviceChoice deviceChoice10;
private DeviceChoice deviceChoice11;
private DeviceChoice deviceChoice12;
private DeviceChoice deviceChoice13;
private DeviceChoice deviceChoice14;
private DeviceChoice deviceChoice2;
private DeviceChoice deviceChoice3;
private DeviceChoice deviceChoice4;
private DeviceChoice deviceChoice5;
private DeviceChoice deviceChoice6;
private DeviceChoice deviceChoice7;
private DeviceChoice deviceChoice8;
private DeviceChoice deviceChoice9;
private DeviceField deviceField1;
private DeviceField deviceField10;
private DeviceField deviceField11;
private DeviceField deviceField12;
private DeviceField deviceField13;
private DeviceField deviceField14;
private DeviceField deviceField15;
private DeviceField deviceField16;
private DeviceField deviceField17;
private DeviceField deviceField2;
private DeviceField deviceField3;
private DeviceField deviceField4;
private DeviceField deviceField5;
private DeviceField deviceField6;
private DeviceField deviceField7;
private DeviceField deviceField8;
private javax.swing.JPanel jPanel1;
private javax.swing.JPanel jPanel10;
private javax.swing.JPanel jPanel11;
private javax.swing.JPanel jPanel12;
private javax.swing.JPanel jPanel13;
private javax.swing.JPanel jPanel14;
private javax.swing.JPanel jPanel2;
private javax.swing.JPanel jPanel3;
private javax.swing.JPanel jPanel4;
private javax.swing.JPanel jPanel5;
private javax.swing.JPanel jPanel6;
private javax.swing.JPanel jPanel7;
private javax.swing.JPanel jPanel8;
private javax.swing.JPanel jPanel9;
private javax.swing.JScrollPane jScrollPane1;
// End of variables declaration//GEN-END:variables
}