---
title: Collect Genomic Samples in Pocket CowCard
slug: help/en-us/pocketcowcard/collect-genomic-samples-in-pocket-cowcard
docTags: 
createdAt: 2026-02-09T13:22:07.009Z
---

<font color="#67854E">**Question**</font>: How do I set up and use the PCC zebra device for genomic sampling?

<font color="#67854E">**Answer**</font>: Use the steps below to set up your PCC Zebra device so you can collect genomic samples:

:::ExpandableHeading
## Step 1: Connect the Zebra device to Wi-Fi

1. Power on the PCC device, the Zebra TC57, by pressing the power button at the top right side of the device.

::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/7BJ7UBNUkZ5SqegKbK2cj_pcc-power-button.png" size="26" isUploading="false" initialPath="../../Resources/Images/PCC/PCC-power-button.png" githubPath="Resources/Images/PCC/PCC-power-button.png" position="flex-start" width="566" height="526" darkWidth="566" darkHeight="526" showCaption="false" indent="2"}

2. Tap **Settings** > **Network & Internet** > **Wi-Fi**.
3. From the Wi-Fi screen, connect to the location's Wi-Fi network.
:::

::::ExpandableHeading
## Step 2: Refresh PCC

1. Open PCC, then tap the **Settings** icon at the top right of the screen.
2. Tap **Server Address** > **Add new IP**.
3. Enter the location's IP address and name, then tap **Add new IP**.

:::hint{type="info" indent="1"}
**NOTE:&#x20;**&#x54;o find the location's IP address and name, you can open DairyComp 305 and enter `SERVER\3` in the command line.
:::

4. From the list of IP addresses, check the box next to the IP address you want to use, and then tap **Select new IP**.



::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/43sGTCjfX9Qb-egtCjgyU_pcc-select-ip.png" size="38" isUploading="false" initialPath="../../Resources/Images/PCC/PCC-select-IP.png" githubPath="Resources/Images/PCC/PCC-select-IP.png" position="flex-start" width="829" height="228" darkWidth="829" darkHeight="228" showCaption="false" indent="1"}

5. Go to the PCC home screen and tap **Refresh herd from DairyComp**.
::::

:::ExpandableHeading
## Step 3: Create Items and Commands in DairyComp

1. In DairyComp, enter `ALTER\2` in the command line to open the **Item Definitions** list.
2. Click **Add \[Ins]** on the left side of the window and add the following items:

| <font color="#f3f4f6">**Name**</font> | <font color="#f3f4f6">**Type**</font> | <font color="#f3f4f6">**Description**</font> |
| ------------------------------------- | ------------------------------------- | -------------------------------------------- |
| GSDAT                                 | 18                                    | Genomic Sample Date                          |
| GSAMP                                 | 33                                    | Genomic Sample Number                        |

3. After you save your changes, enter `ALTER\3` in the command line to open the **Commands Definitions** list.
4. Click **Add \[Ins]** on the left side of the window and add the following command:

| <font color="#f3f4f6">**Abbreviation**</font> | <font color="#f3f4f6">**Content**</font> | <font color="#f3f4f6">**Title**</font> |
| --------------------------------------------- | ---------------------------------------- | -------------------------------------- |
| ZGSAMP                                        | ENTER\Z GSDAT=SCDAT GSAMP=?              | PCC genomic sample batch entry         |
:::

:::ExpandableHeading
## Step 4: Set Up PCC

1. After you create your items and commands, refresh PCC.
2. Open the **Batch** tab, then tap **Expert Batch Command**.
3. Tap the red locked icon :inlineImage[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/FX7s37sODhqUq8g9YHTfb_pcc-lock-icon25x25.png" alt caption size="10" width="25" height="25"} at the top right of the screen, then tap **Select a Pre-Defined Command**.
4. Tap **ZGSAMP**, the command you created in [Step 3: Create Items and Commands in DC305](docId\:JOlt83O_rtremWrXho3UT), and tap the green unlocked icon :inlineImage[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/KDuAB0KjOAjCprFl1NYZD_pcc-unlocked-icon25x25.png" alt caption size="10" width="25" height="25"} to save your changes.
5. At the bottom right of the screen, tap **Enable RFID**.
6. If your scanner does not automatically connect to PCC, select the scanner from the list of devices. If your scanner does not appear on the list of devices, make sure your scanner is turned on.
   PCC underlines **Enable RFID** in green when your scanner is connected.

::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/7I0zEfBM-fMZVzccgCUBh_pcc-connectedscanner.png" size="48" isUploading="false" initialPath="../../Resources/Images/PCC/PCC-connectedscanner.png" githubPath="Resources/Images/PCC/PCC-connectedscanner.png" position="flex-start" width="1049" height="159" darkWidth="1049" darkHeight="159" showCaption="false" indent="2"}
:::

:::ExpandableHeading
## Step 5: Use PCC to Scan Animals and Assign Genomic Sample IDs

1. To collect an animal's genomic sample, scan the animal's RFID tag.
2. When PCC prompts you to enter the genomic sample number (GSAMP), manually enter the sample ID or scan the sample's QR or barcode.
3. After you scan the animals you need, click **Exit** to go to the PCC home screen.
4. Tap **Send Changes to DairyComp** to send the sample assignments to DairyComp.
:::

***

